Merge pull request #20519 from gabrielhuber/master

core-app-api: Fixed bug in AppRouter to determine the correct signOutTargetUrl if app.baseUrl contains a basePath
This commit is contained in:
Patrik Oldsberg
2023-10-12 09:34:49 +02:00
committed by GitHub
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} />;