mirror of
https://github.com/TECHNOFAB11/svelte-oidc.git
synced 2025-12-11 23:50:06 +01:00
commit
e668272c6b
1 changed files with 2 additions and 1 deletions
|
|
@ -74,6 +74,7 @@
|
|||
export let redirect_uri;
|
||||
export let post_logout_redirect_uri;
|
||||
export let metadata = {};
|
||||
export let scope = 'openid profile email';
|
||||
|
||||
setContext(OIDC_CONTEXT_REDIRECT_URI, redirect_uri);
|
||||
setContext(OIDC_CONTEXT_POST_LOGOUT_REDIRECT_URI, post_logout_redirect_uri);
|
||||
|
|
@ -84,7 +85,7 @@
|
|||
redirect_uri,
|
||||
post_logout_redirect_uri,
|
||||
response_type: 'code',
|
||||
scope: 'openid profile email',
|
||||
scope,
|
||||
automaticSilentRenew: true,
|
||||
metadata,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue