tsuki/hedgedoc: small auth url improvement

This commit is contained in:
Oystein Kristoffer Tveit 2023-05-08 02:09:08 +02:00
parent f8c06f985e
commit 53dbedef2b
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@
oauth2 = let
authServerUrl = config.services.kanidm.serverSettings.origin;
in {
in rec {
baseURL = "${authServerUrl}/oauth2";
tokenURL = "${authServerUrl}/oauth2/token";
authorizationURL = "${authServerUrl}/ui/oauth2";
userProfileURL = "${authServerUrl}/oauth2/openid/hedgedoc/userinfo";
userProfileURL = "${authServerUrl}/oauth2/openid/${clientID}/userinfo";
clientID = "hedgedoc";