diff --git a/firebase/auth/__init__.py b/firebase/auth/__init__.py index 97ff87e..5db72d2 100644 --- a/firebase/auth/__init__.py +++ b/firebase/auth/__init__.py @@ -114,6 +114,7 @@ def create_authentication_uri(self, provider_id): self.__nonce = "".join(random.choice("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") for _ in range(20)) if provider_id == 'google.com': + data['oauthScope'] = 'profile' data['authFlowType'] = 'CODE_FLOW' data['customParameter'] = {"access_type": 'offline', "prompt": 'select_account', "include_granted_scopes": 'true', "nonce": self.__nonce}