add hedgedoc to sso

This commit is contained in:
Lucy Hochkamp 2025-02-27 09:54:58 +01:00
parent 1c3e1d0a91
commit 18403cff70
No known key found for this signature in database
5 changed files with 53 additions and 41 deletions

View file

@ -25,16 +25,16 @@ in
allowFreeURL = true;
email = false;
oauth2 = {
providerName = "authentik";
clientID = "$CLIENT_ID";
clientSecret = "$CLIENT_SECRET";
providerName = "xyno.systems SSO";
authorizationURL = "https://sso.xyno.systems/api/oidc/authorize";
tokenURL = "https://sso.xyno.systems/api/oidc/token";
userProfileURL = "https://sso.xyno.systems/api/oidc/userinfo";
scope = "openid profile email";
userProfileUsernameAttr = "sub";
userProfileEmailAttr = "email";
scope = "openid email profile";
userProfileURL = "https://auth.hailsatan.eu/application/o/userinfo/";
tokenURL = "https://auth.hailsatan.eu/application/o/token/";
authorizationURL = "https://auth.hailsatan.eu/application/o/authorize/";
userProfileUsernameAttr = "preferred_username";
userProfileDisplayNameAttr = "name";
userProfileEmailAttr = "email";
};
domain = "${cfg.domain}";
db = {