Sanitized mirror from private repository - 2026-04-20 01:32:01 UTC
This commit is contained in:
20
hosts/synology/calypso/seafile-oauth-config.py
Normal file
20
hosts/synology/calypso/seafile-oauth-config.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Authentik OAuth2 Configuration for Seafile
|
||||
# Append this to /shared/seafile/conf/seahub_settings.py on Calypso
|
||||
# After adding, restart Seafile container: docker restart Seafile
|
||||
#
|
||||
# This keeps local login working while adding "Sign in with Authentik" button
|
||||
|
||||
ENABLE_OAUTH = True
|
||||
OAUTH_ENABLE_INSECURE_TRANSPORT = False
|
||||
OAUTH_CLIENT_ID = "REDACTED_CLIENT_ID"
|
||||
OAUTH_CLIENT_SECRET = "REDACTED_CLIENT_SECRET"
|
||||
OAUTH_REDIRECT_URL = "https://sf.vish.gg/oauth/callback/"
|
||||
OAUTH_PROVIDER_DOMAIN = "sso.vish.gg"
|
||||
OAUTH_AUTHORIZATION_URL = "https://sso.vish.gg/application/o/authorize/"
|
||||
OAUTH_TOKEN_URL = "https://sso.vish.gg/application/o/token/"
|
||||
OAUTH_USER_INFO_URL = "https://sso.vish.gg/application/o/userinfo/"
|
||||
OAUTH_SCOPE = ["openid", "profile", "email"]
|
||||
OAUTH_ATTRIBUTE_MAP = {
|
||||
"email": (True, "email"),
|
||||
"name": (False, "name"),
|
||||
}
|
||||
Reference in New Issue
Block a user