-
-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble to make the Oauth2 Web App example working #107
Comments
OAuth 2 is not secure without SSL which is why you get this error, you don't have SSL setup on your test server. Most people don't while testing and that is fine. You can disable this check in two ways
Hope that helps :) |
Indeed. Thx. Thx again |
Although something weird happens. Any idea of what it can be ? |
@ihommani thanks for the PR :) Hrm, not quite sure whether it is on provider or client side or something weird cookie thing. Could you add
to the beginning of your code and see what debug output you get (if you use a real provider with confidential secrets make sure to remove them from output before posting). |
@ib-lundgren , everything is alright now. See you. |
there is a regression of this issue I will create a PR to update the example |
Hello,
I've got the following error when I try the snippet of code
oauthlib.oauth2.rfc6749.errors.InsecureTransportError
I got the redirection but returning to the callback throws this exception.
The exception is triggered by the line :
token = github.fetch_token(token_url, client_secret=client_secret, authorization_response=request.url)
Since I'm new to requests-oauth, I don't know if the blunder is coming from me or not. But I almost copy/paste the code and replaced all that have to be replaced.
Can anyone confirm the example is working ?
The text was updated successfully, but these errors were encountered: