InvalidClientIdError in fetch_token()
See original GitHub issueHello,
I faced an error when go on fetch_token() with received url with code and state:
127.0.0.1 - - [15/Jan/2019 16:41:02] "GET /oauth2?code=SOME-CODE-DATA&state=SOME-STATE-DATA HTTP/1.1" 500 -
Traceback (most recent call last):
...
...
oauthlib.oauth2.rfc6749.errors.InvalidClientIdError: (invalid_request) The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed
Is this known issue? Seems something is being fixed in fetch_token in #331 .
If this is not fixed, is there a workaround?
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Got InvalidClientIdError (invalid_request) Mismatching redirect ...
I am trying to simulate token exchange between consumer and provider (server_to_server) using library requests_oauthlib. I getting error after I ...
Read more >OAuth 2 Workflow — Requests-OAuthlib 1.3.1 documentation
Introduction¶. The following sections provide some example code that demonstrates some of the possible OAuth2 flows you can use with requests-oauthlib.
Read more >Python debug Examples
Python debug - 28 examples found. These are the top rated real world Python examples of oauthlibcommonlog.debug extracted from open source projects.
Read more >OAuthLib Documentation - Read the Docs
Client.query.filter_by(client_key=client_key).one() return True except NoResultFound: return False. The full API you will need to implement ...
Read more >OAuth HTTP error response reference | Apigee Edge
Warning: In Edge Cloud Release 16.09.21, the error code " invalid_client " was changed to " InvalidClientIdentifier " for certain policy configurations.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@djKooks Try passing in
include_client_id = Trueto yourauth_session.fetch_token()call. I was having a similair issue arise after updating from 1.1.0 and 1.2.0 because this newly added parameter and passing that in fixed it (although mine was an InvalidClientError)@singingwolfboy Sorry to be bringing this old stuff back to life. Found some free time and wanted to cherry pick a few of these issues to clean up. Seems to me that this issue is settled, however, ReadTheDocs is in fact behind. Pulled down the repo, ran
make htmlin docs, thinking that would update the html files, then I noticed that these are ignored files?.gitignoreline 9. Anyways I figured you might know how to refresh/rebuild the docs.[EDIT]
Continued reading and found this issue addressing a similar out of sync docs issue: #392 Read the Docs is out of sync. and it looks like that the project needs push out a release to rebuild the documentation. Is there any desire to push a general release update just to get the project on level footing again? If anything get the documentation more current?