hedgedoc: add authentik

This commit is contained in:
Vivian 2022-05-18 15:56:40 +02:00
parent 37ec955d04
commit b22999d78a

View file

@ -77,10 +77,20 @@ in
accessKey = "$MINIO_ACCESS_KEY"; accessKey = "$MINIO_ACCESS_KEY";
secretKey = "$MINIO_SECRET_KEY"; secretKey = "$MINIO_SECRET_KEY";
}; };
# github = { email = true;
# clientID = "$GITHUB_CLIENTID"; oauth2 = let url = "https://id.0x76.dev"; in
# clientSecret = "$GITHUB_CLIENTSECRET"; {
# }; providerName = "authentik";
clientID = "$AUTHENTIK_CLIENTID";
clientSecret = "$AUTHENTIK_CLIENTSECRET";
scope = "openid email profile";
userProfileURL = "${url}/application/o/userinfo/";
tokenURL = "${url}/application/o/token/";
authorizationURL = "${url}/application/o/authorize/";
userProfileUsernameAttr = "preferred_username";
userProfileDisplayNameAttr = "name";
userProfileEmailAttr = "email";
};
}; };
}; };
} }