tsuki/hedgedoc: small auth url improvement
This commit is contained in:
parent
f8c06f985e
commit
53dbedef2b
|
@ -20,11 +20,11 @@
|
||||||
|
|
||||||
oauth2 = let
|
oauth2 = let
|
||||||
authServerUrl = config.services.kanidm.serverSettings.origin;
|
authServerUrl = config.services.kanidm.serverSettings.origin;
|
||||||
in {
|
in rec {
|
||||||
baseURL = "${authServerUrl}/oauth2";
|
baseURL = "${authServerUrl}/oauth2";
|
||||||
tokenURL = "${authServerUrl}/oauth2/token";
|
tokenURL = "${authServerUrl}/oauth2/token";
|
||||||
authorizationURL = "${authServerUrl}/ui/oauth2";
|
authorizationURL = "${authServerUrl}/ui/oauth2";
|
||||||
userProfileURL = "${authServerUrl}/oauth2/openid/hedgedoc/userinfo";
|
userProfileURL = "${authServerUrl}/oauth2/openid/${clientID}/userinfo";
|
||||||
|
|
||||||
clientID = "hedgedoc";
|
clientID = "hedgedoc";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue