diff --git a/src/config.sample.pug b/src/config.sample.pug index 8cc01c1..79e46b3 100644 --- a/src/config.sample.pug +++ b/src/config.sample.pug @@ -1,3 +1,4 @@ - var sdn = process.env.SDN || 'http://127.0.0.1:8000' - var cdn = process.env.CDN || 'https://cdn.happy-dev.fr' -- var xmpp = 'https://jabber.happy-dev.fr/http-bind/' \ No newline at end of file +- var xmpp = 'https://jabber.happy-dev.fr/http-bind/' +- var client_id= = 863031 diff --git a/src/dependencies.pug b/src/dependencies.pug index c3edb56..ae47d09 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -7,7 +7,7 @@ script(src="/lib/oidc-client.js") script( src="/lib/sib-oidc/sib-oidc.js" data-authority=`${sdn}/openid/`, - data-client_id='863031', + data-client_id='${client_id}', data-response_type='id_token token', data-scope='openid profile email', data-automaticSilentRenew='true',