Skip to content

Commit

Permalink
fix: readonly auth (change "idpHint" to "kc_idp_hint")
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentC35 committed Oct 5, 2023
1 parent 5b4e56e commit 737233a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/auth/provider/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export function AuthProvider({ children }) {
}
alreadyLoad.current = true;
if (isOidcEnabled) {
const extras = isReadOnlyMode ? { idpHint: IDENTITY_PROVIDER } : null;

console.log('extras', extras);
const extras = isReadOnlyMode ? { kc_idp_hint: IDENTITY_PROVIDER } : null;
setConfiguration({
...oidcConf,
redirect_uri: `${window.location.origin}/login`,
Expand Down

0 comments on commit 737233a

Please sign in to comment.