We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b95f4 commit a1d857cCopy full SHA for a1d857c
cla-backend/cla/auth.py
@@ -125,8 +125,8 @@ def authenticate_user(headers):
125
cla.log.warning(f"username claim not found in {auth0_username_claim}, trying {alt_claim}")
126
username = payload.get(alt_claim)
127
if username is None:
128
- cla.log.error(f"username claim not found in alternate source {auth0_username_claim}")
129
- raise AuthError(f"username claim not found in {auth0_username_claim}")
+ cla.log.error(f"username claim not found in alternate source {alt_claim}")
+ raise AuthError('username claim not found')
130
else:
131
cla.log.error(f"username claim not found in {auth0_username_claim}")
132
raise AuthError('username claim not found')
0 commit comments