# 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"), }