Fix: signOutTargetUrl determination
Signed-off-by: Gabriel Huber <mail@ghuber.de>
This commit is contained in:
committed by
Gabriel Huber
parent
414dd72078
commit
29e4d8b76b
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-app-api': patch
|
||||
---
|
||||
|
||||
Fixed bug in AppRouter to determine the correct signOutTargetUrl if app.baseUrl contains a basePath
|
||||
@@ -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} />;
|
||||
|
||||
Reference in New Issue
Block a user