mirror of https://github.com/zulip/zulip.git
saml: Give SAMLAuthBackend highest sort_order.
This commit is contained in:
parent
3fb2339511
commit
9532e99800
|
@ -1105,6 +1105,10 @@ class SAMLAuthBackend(SocialAuthMixin, SAMLAuth):
|
||||||
standard_relay_params = ["subdomain", "multiuse_object_key", "mobile_flow_otp",
|
standard_relay_params = ["subdomain", "multiuse_object_key", "mobile_flow_otp",
|
||||||
"next", "is_signup"]
|
"next", "is_signup"]
|
||||||
REDIS_EXPIRATION_SECONDS = 60 * 15
|
REDIS_EXPIRATION_SECONDS = 60 * 15
|
||||||
|
# Organization which go through the trouble of setting up SAML are most likely
|
||||||
|
# to have it as their main authentication method, so it seems appropriate to have
|
||||||
|
# SAML buttons at the top.
|
||||||
|
sort_order = 9999
|
||||||
|
|
||||||
def auth_url(self) -> str:
|
def auth_url(self) -> str:
|
||||||
"""Get the URL to which we must redirect in order to
|
"""Get the URL to which we must redirect in order to
|
||||||
|
|
Loading…
Reference in New Issue