Skip to content

Commit

Permalink
feat: Add global domain auth methods (#3949)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan committed May 15, 2024
1 parent a18317b commit 796564a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api/app/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1197,3 +1197,14 @@
INSTALLED_APPS += ("split_testing",)

ENABLE_API_USAGE_ALERTING = env.bool("ENABLE_API_USAGE_ALERTING", default=False)

# See DomainAuthMethods in flagsmith-auth-controller repository with auth_controller.models module
GLOBAL_DOMAIN_AUTH_METHODS = env.dict(
"GLOBAL_DOMAIN_AUTH_METHODS",
{
"EP": True, # Email / Password
"GO": True, # Google
"GH": True, # GitHub
"SAML": True, # Security Assertion Markup Language
},
)

0 comments on commit 796564a

Please sign in to comment.