mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-22 21:08:47 +00:00
fix(console): configWithPrompt cleanup (#3796)
* fix: configWithPrompt cleanup * code dialog text Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
11d24f6d8a
commit
b1da8975f5
@@ -21,11 +21,10 @@ export class AuthGuard implements CanActivate {
|
||||
const hint = route.queryParams['login_hint'];
|
||||
const configWithPrompt: Partial<AuthConfig> = {
|
||||
customQueryParams: {
|
||||
// prompt: 'select_account',
|
||||
} as any,
|
||||
login_hint: hint,
|
||||
},
|
||||
};
|
||||
(configWithPrompt as any).customQueryParams['login_hint'] = hint;
|
||||
console.log('auth', hint);
|
||||
console.log(`authenticate with login_hint: ${hint}`);
|
||||
this.auth.authenticate(configWithPrompt);
|
||||
} else {
|
||||
return this.auth.authenticate();
|
||||
|
||||
Reference in New Issue
Block a user