Skip to content

Commit

Permalink
Include a detailed error message in the HTTP response
Browse files Browse the repository at this point in the history
  • Loading branch information
liudonggalaxy committed Nov 29, 2024
1 parent 639ca66 commit 80dbc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authlib/oauth2/rfc7523/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def process_assertion_claims(self, assertion, resolve_key):
claims.validate()
except JoseError as e:
log.debug('Assertion Error: %r', e)
raise InvalidClientError()
raise InvalidClientError(description=e.description)
return claims

def authenticate_client(self, client):
Expand Down

0 comments on commit 80dbc61

Please sign in to comment.