We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec3d142 commit 75dc42cCopy full SHA for 75dc42c
1 file changed
web/pgadmin/authenticate/oauth2.py
@@ -166,11 +166,6 @@ def login(self, form):
166
]
167
email = profile_dict[email_key[0]] if (len(email_key) > 0) else None
168
169
- if not email:
170
- error_msg = "No email found in profile data."
171
- current_app.logger.exception(error_msg)
172
- return False, gettext(error_msg)
173
-
174
username = email
175
username_claim = None
176
if 'OAUTH2_USERNAME_CLAIM' in self.oauth2_config[
0 commit comments