diff --git a/src/config.sample.json b/src/config.sample.json index 2b026358ae375d1e45c9fae1bb75752833d23846..031b6db1f6a8305ec4cda6ecf20a0836c1413105 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 43d58354a09b40ec2e8d5ddbbdda8c6ac60982fd..9347750984d009ff3da7a22dd06052daa7ac32e3 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"}` )