Open regisin opened 5 years ago
Are you sure your database is working? How did you set it up? I got something similar when I pointed the website to a database that already contained a user
table.
Setup the callback link with http request. http://localhost:5000/auth/callback/github instead of https://localhost:5000/auth/callback/github
I followed the steps and had the webapp running locally. When I login with my github account, and the callback url is called, it returns a "Bad request" error.
This is what I see in the console:
I couldn't find the documentation for the github api (
https://github.com/login/oauth/access_token
) that theget_token()
method calls to check if the params were ok.I'm not sure what other information is needed to debug/solve this issue.