Skip to content

Commit

Permalink
fix response type
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 authored Mar 27, 2024
1 parent 1813225 commit e66932e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authlib/oauth2/rfc7592/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _validate_response_types(claims, value):
# If omitted, the default is that the client will use only the "code"
# response type.
response_types = set(value) if value else {"code"}
return response_types_supported.issuperset(set(value))
return response_types_supported.issuperset(response_types)

options['response_types'] = {'validate': _validate_response_types}

Expand Down

0 comments on commit e66932e

Please sign in to comment.