Fix: signOutTargetUrl determination

Signed-off-by: Gabriel Huber <mail@ghuber.de>
This commit is contained in:
Gabriel Huber
2023-10-11 10:46:33 +02:00
committed by Gabriel Huber
parent 414dd72078
commit 29e4d8b76b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---
Fixed bug in AppRouter to determine the correct signOutTargetUrl if app.baseUrl contains a basePath
+1 -1
View File
@@ -70,7 +70,7 @@ function SignInPageWrapper({
}) {
const [identityApi, setIdentityApi] = useState<IdentityApi>();
const configApi = useApi(configApiRef);
const basePath = getBasePath(configApi);
const basePath = readBasePath(configApi);
if (!identityApi) {
return <Component onSignInSuccess={setIdentityApi} />;