add sib-oidc

This commit is contained in:
Clément
2018-10-12 19:11:13 +02:00
parent d6cd1a54ed
commit 78551c4579
15 changed files with 70 additions and 40 deletions

View File

@ -3,7 +3,17 @@
script(src="/lib/webcomponentsjs/webcomponents-loader.js")
//- script(src="lib/html-imports.js")
//- script(src='/lib/sib-chat/3rdparty/sib-oidc-client.js')
script(src="https://cdn.happy-dev.fr/oidc-client/oidc-client.min.js")
script(
src="lib/sib-oidc/sib-oidc.js"
data-authority='https://test-paris.happy-dev.fr/openid/',
data-client_id='833925',
data-response_type='id_token token',
data-scope='openid profile email',
data-automaticSilentRenew='true',
data-loadUserInfo='true'
)
script(src="/scripts/index.js")
// Stylesheets
@ -20,7 +30,7 @@ link(href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,6
//- local
link(rel='import', href='/lib/sib-core/sib-display.html')
link(rel='import', href='/lib/sib-router/sib-router.html')
//- link(rel='import', href='/lib/sib-chat/sib-chat.html')
link(rel='import', href='/lib/sib-chat/sib-chat.html')
//- cdn
link(rel='import', href="https://cdn.happy-dev.fr/sib-core/sib-display.html")