Skip to content

Commit

Permalink
The id_token_hint parameter isn't required by the OIDC spec. (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
skion committed Jul 2, 2018
1 parent 3eaf962 commit cfcbe99
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions oauthlib/openid/connect/core/grant_types/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,6 @@ def openid_authorization_validator(self, request):
msg = "Prompt none is mutually exclusive with other values."
raise InvalidRequestError(request=request, description=msg)

# prompt other than 'none' should be handled by the server code that
# uses oauthlib
if not request.id_token_hint:
msg = "Prompt is set to none yet id_token_hint is missing."
raise InvalidRequestError(request=request, description=msg)

if not self.request_validator.validate_silent_login(request):
raise LoginRequired(request=request)

Expand Down

0 comments on commit cfcbe99

Please sign in to comment.