Skip to content

Commit

Permalink
bugfix for auth redirect issue when wildcard redirects are not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
maximiliancsuk committed May 21, 2024
1 parent b8066e3 commit 0bbcf48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/core/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function App() {
<ErrorNotifier>
{(showError) => (
<ConditionalWrapper condition={!authDisabled} wrapper={children =>
<ReactKeycloakProvider authClient={keycloak} initOptions={{ onLoad: 'check-sso' }} autoRefreshToken={true} onTokens={tokenSetter} LoadingComponent={loadingComponent}>{children}</ReactKeycloakProvider>}>
<ReactKeycloakProvider authClient={keycloak} initOptions={{ onLoad: 'check-sso', redirectUri: process.env.PUBLIC_URL }} autoRefreshToken={true} onTokens={tokenSetter} LoadingComponent={loadingComponent}>{children}</ReactKeycloakProvider>}>
<React.StrictMode>
<ApolloWrapper component={BR} showError={showError} />
</React.StrictMode>
Expand Down

0 comments on commit 0bbcf48

Please sign in to comment.