Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
auth: Fix incorrect encoding of whitespace in scope in Apple backend.
Mateusz Manderabe4aa658278e
diff --git a/zproject/backends.py b/zproject/backends.pyindex 48bf0d1f2dd..7e94d541fcb 100644--- a/zproject/backends.py+++ b/zproject/backends.py@@ -1555,6 +1555,8 @@ class AppleAuthBackend(SocialAuthMixin, AppleIdAuth):full_name_validated = TrueREDIS_EXPIRATION_SECONDS = 60*10+ SCOPE_SEPARATOR = "%20" # https://github.com/python-social-auth/social-core/issues/470+def is_native_flow(self) -> bool:return self.strategy.request_data().get('native_flow', False)