Infini-DL360/hedgedoc: configure oauth

This commit is contained in:
Infinidoge 2025-04-17 19:56:26 -04:00
parent ee2ba84597
commit 89e0367f6f
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
2 changed files with 12 additions and 0 deletions

View file

@ -25,6 +25,18 @@ in
allowFreeURL = true; allowFreeURL = true;
requireFreeURLAuthentication = true; requireFreeURLAuthentication = true;
oauth2 = {
baseURL = "https://auth.inx.moe";
userProfileURL = "https://auth.inx.moe/application/o/userinfo/";
userProfileUsernameAttr = "preferred_username";
userProfileDisplayNameAttr = "name";
userProfileEmailAttr = "email";
tokenURL = "https://auth.inx.moe/application/o/token/";
authorizationURL = "https://auth.inx.moe/application/o/authorize/";
clientID = "W1nhnUi43GweNljV4ADGfZ9VKuH4aoN1cwCUNlFp";
scope = "openid email profile";
};
}; };
}; };