Add 'consent' prompt option to KeycloakLoginOptions (#23453)
This commit adds the 'consent' prompt option to KeycloakLoginOptions, allowing applications to always prompt the user for consent, even if it has been given previously. This provides greater control over user consent in the authentication flow. Closes #23447
This commit is contained in:
parent
72e1310cc1
commit
6543aa9a19
1 changed files with 4 additions and 2 deletions
6
js/libs/keycloak-js/dist/keycloak.d.ts
vendored
6
js/libs/keycloak-js/dist/keycloak.d.ts
vendored
|
@ -220,9 +220,11 @@ export interface KeycloakLoginOptions {
|
|||
* Keycloak. To only authenticate to the application if the user is already
|
||||
* logged in and not display the login page if the user is not logged in, set
|
||||
* this option to `'none'`. To always require re-authentication and ignore
|
||||
* SSO, set this option to `'login'`.
|
||||
* SSO, set this option to `'login'`. To always prompt the user for consent,
|
||||
* set this option to `'consent'`. This ensures that consent is requested,
|
||||
* even if it has been given previously.
|
||||
*/
|
||||
prompt?: 'none'|'login';
|
||||
prompt?: 'none' | 'login' | 'consent';
|
||||
|
||||
/**
|
||||
* If value is `'register'` then user is redirected to registration page,
|
||||
|
|
Loading…
Reference in a new issue