From b6591fa45a0fd23a1d713b21d11cacef64f516f8 Mon Sep 17 00:00:00 2001 From: Stephen Glass Date: Mon, 29 Jul 2024 15:39:29 -0400 Subject: [PATCH] update changeset Signed-off-by: Stephen Glass --- .changeset/violet-beds-promise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/violet-beds-promise.md b/.changeset/violet-beds-promise.md index 9fa03646c4..ea5f478543 100644 --- a/.changeset/violet-beds-promise.md +++ b/.changeset/violet-beds-promise.md @@ -7,7 +7,7 @@ '@backstage/plugin-auth-node': patch --- -Fix error handling using authentication redirect flow via `enableExperimentalRedirectFlow` config. If an error is caught during authentication, the user is redirected back to app origin with `?error=true` query parameter. A cookie is also set in the redirect which contains the error message. The error can be fetched from any custom sign in page using the new `AuthErrorApi` and `getSignInError()` implementation. Example: +Fix error handling using authentication redirect flow via `enableExperimentalRedirectFlow` config. If an error is caught during authentication, the user is redirected back to app origin with `?error=true` query parameter. A cookie is also set in the redirect which contains the error message. The error can be fetched from any custom sign in page using the new `AuthErrorApi`. Example: ```ts import { useApi, authErrorApiRef } from '@backstage/core-plugin-api';