Merge branch '104-sib-oidc' into 'master'
Resolve "Integrate sib-oidc 0.5" Closes #104 See merge request startinblox/applications/sib-app!14
This commit is contained in:
commit
82113d9546
@ -4,13 +4,8 @@
|
||||
//- script(src="lib/html-imports.js")
|
||||
|
||||
script(
|
||||
type="module"
|
||||
src="https://unpkg.com/@startinblox/oidc@0.5"
|
||||
data-authority=`${sdn}/openid/`,
|
||||
data-client_id=`${client_id}`,
|
||||
data-response_type='id_token token',
|
||||
data-scope='openid profile email',
|
||||
data-automaticSilentRenew='true',
|
||||
data-loadUserInfo='true'
|
||||
)
|
||||
|
||||
script(src="/scripts/index.js")
|
||||
|
@ -20,3 +20,18 @@ sib-display#profile(
|
||||
bind-user
|
||||
)
|
||||
|
||||
button#login(onclick="document.querySelector('sib-auth').login();") login
|
||||
|
||||
|
||||
sib-auth
|
||||
sib-auth-provider(
|
||||
class="sib-auth-provider"
|
||||
data-authority=`${sdn}/openid/`
|
||||
data-client_id=`${client_id}`,
|
||||
data-id="paris"
|
||||
data-response_type='id_token token',
|
||||
data-scope='openid profile email',
|
||||
data-automaticSilentRenew='true',
|
||||
data-loadUserInfo='true'
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user