diff --git a/src/config.sample.json b/src/config.sample.json index 2b02635..031b6db 100644 --- a/src/config.sample.json +++ b/src/config.sample.json @@ -3,6 +3,7 @@ "cdn": "https://cdn.happy-dev.fr", "xmpp": "https://jabber.happy-dev.fr/http-bind/", "authority": "http://127.0.0.1:8000/openid/", + "clientName": "SIB App", "endpoints": { "businessproviders": "http://127.0.0.1:8000/businessproviders/", "circles": "http://127.0.0.1:8000/circles/", @@ -11,13 +12,14 @@ "projects": "http://127.0.0.1:8000/projects/", "skills": "http://127.0.0.1:8000/skills/", "users": "http://127.0.0.1:8000/users/" - } + } }, "alpha": { "cdn": "https://cdn.happy-dev.fr", "xmpp": "https://jabber.happy-dev.fr/http-bind/", "authority": "https://api.alpha.happy-dev.fr/openid/", + "clientName": "SIB App", "endpoints": { "businessproviders": "https://api.alpha.happy-dev.fr/businessproviders/", "circles": "https://api.alpha.happy-dev.fr/circles/", @@ -26,7 +28,7 @@ "projects": "https://api.alpha.happy-dev.fr/projects/", "skills": "https://api.alpha.happy-dev.fr/skills/", "users": "https://api.alpha.happy-dev.fr/users/" - } + } }, "paris": { @@ -34,6 +36,7 @@ "cdn": "https://cdn.happy-dev.fr", "xmpp": "https://jabber.happy-dev.fr/http-bind/", "authority": "https://api.test-paris.happy-dev.fr/openid/", + "clientName": "SIB App", "endpoints": { "businessproviders": "https://api.test-paris.happy-dev.fr/businessproviders/", "circles": "https://api.test-paris.happy-dev.fr/circles/", @@ -42,13 +45,14 @@ "projects": "https://api.test-paris.happy-dev.fr/projects/", "skills": "https://api.test-paris.happy-dev.fr/skills/", "users": "https://api.test-paris.happy-dev.fr/users/" - } + } }, "nantes": { "cdn": "https://cdn.happy-dev.fr", "xmpp": "https://jabber.happy-dev.fr/http-bind/", "authority": "https://api.test-nantes.happy-dev.fr/openid/", + "clientName": "SIB App", "endpoints": { "businessproviders": "https://api.test-nantes.happy-dev.fr/businessproviders/", "circles": "https://api.test-nantes.happy-dev.fr/circles/", diff --git a/src/header.pug b/src/header.pug index 43d5835..9347750 100644 --- a/src/header.pug +++ b/src/header.pug @@ -30,5 +30,6 @@ sib-auth sib-auth-provider( data-authority=`${authority}` data-id=`${authorityName || "paris"}` + data-client-name=`${clientName || "SIB App"}` )