diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2018-09-07 23:07:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 23:07:05 +0200 |
commit | 36e7f50049f3333db72ebcb82677b465ec09f84b (patch) | |
tree | b5915b302680a80891c04e7d42380e4999824dd6 | |
parent | 92b686f975e5e3b66371228ba4160cfb3cefd465 (diff) | |
parent | 439e2fe6acd7d045acfe996b544ae5afe388f61f (diff) | |
download | oauthlib-36e7f50049f3333db72ebcb82677b465ec09f84b.tar.gz |
Merge pull request #475 from akira-dev/master
Remove check on empty scopes for implicit grant flow
-rw-r--r-- | oauthlib/oauth2/rfc6749/grant_types/implicit.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/implicit.py b/oauthlib/oauth2/rfc6749/grant_types/implicit.py index bdab814..3a5c058 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/implicit.py +++ b/oauthlib/oauth2/rfc6749/grant_types/implicit.py @@ -200,11 +200,6 @@ class ImplicitGrant(GrantTypeBase): .. _`Section 7.1`: https://tools.ietf.org/html/rfc6749#section-7.1 """ try: - # request.scopes is only mandated in post auth and both pre and - # post auth use validate_authorization_request - if not request.scopes: - raise ValueError('Scopes must be set on post auth.') - self.validate_token_request(request) # If the request fails due to a missing, invalid, or mismatching |