diff --git a/hosts/Infini-DL360/hedgedoc.nix b/hosts/Infini-DL360/hedgedoc.nix index 61c988c..9dec1cd 100644 --- a/hosts/Infini-DL360/hedgedoc.nix +++ b/hosts/Infini-DL360/hedgedoc.nix @@ -25,6 +25,18 @@ in allowFreeURL = 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"; + }; }; }; diff --git a/hosts/Infini-DL360/secrets/hedgedoc.age b/hosts/Infini-DL360/secrets/hedgedoc.age index d919864..76dc280 100644 Binary files a/hosts/Infini-DL360/secrets/hedgedoc.age and b/hosts/Infini-DL360/secrets/hedgedoc.age differ