mirror of
https://github.com/TECHNOFAB11/svelte-oidc.git
synced 2025-12-11 23:50:06 +01:00
Document new option and add to example in README
This commit is contained in:
parent
e234090c67
commit
e2c3813cce
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,10 @@ const metadata = {
|
|||
redirect_uri="https://darrelopry.com/svelte-oidc/"
|
||||
post_logout_redirect_uri="https://darrelopry.com/svelte-oidc/"
|
||||
metadata={metadata}
|
||||
extraOptions={{
|
||||
mergeClaims: true,
|
||||
resource: "some_identifier",
|
||||
}}
|
||||
>
|
||||
|
||||
<LoginButton>Login</LoginButton>
|
||||
|
|
@ -113,6 +117,7 @@ the migration hard.
|
|||
* redirect_uri - default: window.location.href
|
||||
* post_logout_redirect_uri - override the default url that OIDC will redirect to after logout. default: window.location.href
|
||||
* metadata - set default metadata or metadata missing from authority.
|
||||
* extraOptions - An object of extra options that will be passed to the underlying OpenID Connect client. Valid values are available [here](https://github.com/IdentityModel/oidc-client-js/wiki#other-optional-settings).
|
||||
|
||||
* LoginButton - log out the current context
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue