mirror of https://github.com/zulip/zulip.git
auth: Fix incorrect encoding of whitespace in scope in Apple backend.
This commit is contained in:
parent
51acca2672
commit
be4aa65827
|
@ -1555,6 +1555,8 @@ class AppleAuthBackend(SocialAuthMixin, AppleIdAuth):
|
||||||
full_name_validated = True
|
full_name_validated = True
|
||||||
REDIS_EXPIRATION_SECONDS = 60*10
|
REDIS_EXPIRATION_SECONDS = 60*10
|
||||||
|
|
||||||
|
SCOPE_SEPARATOR = "%20" # https://github.com/python-social-auth/social-core/issues/470
|
||||||
|
|
||||||
def is_native_flow(self) -> bool:
|
def is_native_flow(self) -> bool:
|
||||||
return self.strategy.request_data().get('native_flow', False)
|
return self.strategy.request_data().get('native_flow', False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue