Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

DB not updated on successful authorization #4

Open
iWeeti opened this issue Sep 8, 2018 · 3 comments
Open

DB not updated on successful authorization #4

iWeeti opened this issue Sep 8, 2018 · 3 comments
Assignees
Labels

Comments

@iWeeti
Copy link

iWeeti commented Sep 8, 2018

oauthlib.oauth2.rfc6749.errors.InsecureTransportError: (insecure_transport) OAuth 2 MUST utilize https.

@mrogaski
Copy link
Owner

mrogaski commented Sep 9, 2018

To allow a callback redirect to a non-encrypted site, you need to set the OAUTHLIB_INSECURE_TRANSPORT variable.

https://oauthlib.readthedocs.io/en/latest/oauth2/security.html

@mrogaski mrogaski self-assigned this Sep 9, 2018
@iWeeti
Copy link
Author

iWeeti commented Sep 9, 2018

Yes, I got that one working,
Now when I go to the page it executes without errors but doesn't add anything to the database, and redirects to the home page.

@mrogaski mrogaski changed the title I am getting this error. DB not updated on successful authorization Sep 9, 2018
@mrogaski
Copy link
Owner

mrogaski commented Sep 9, 2018

The invite mechanism needs to be updated (#10), but it shouldn't result in what you are seeing. I'll have a look.

@mrogaski mrogaski added the bug label Sep 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants