Skip to content

Commit

Permalink
Add scope parameter to KeycloakInitOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
epuronta authored and abstractj committed May 12, 2022
1 parent 599a348 commit cdef39f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions adapters/oidc/js/dist/keycloak.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ export interface KeycloakInitOptions {
*/
enableLogging?: boolean

/**
* Set the default scope parameter to the login endpoint. Use a space-delimited list of scopes.
* Note that the scope 'openid' will be always be added to the list of scopes by the adapter.
* Note that the default scope specified here is overwritten if the `login()` options specify scope explicitly.
*/
scope?: string

/**
* Configures how long will Keycloak adapter wait for receiving messages from server in ms. This is used,
* for example, when waiting for response of 3rd party cookies check.
Expand Down

0 comments on commit cdef39f

Please sign in to comment.