freckle/yesod-auth-oauth2

"login invalid" for Google

codygman opened this issue · 4 comments

I'm still debugging this and I believe I set everything up correctly, but I keep getting login invalid after confirming I want to allow my application to access my account.

Looks like my users are never actually inserted into the database.

Thanks for the report. Are you able to post the relevant code where you use the plugin? Or better, a minimal reproducing repo? If not, I'll try to set something up this week where I can test the behavior of the plugin myself.

Please note that the plugin is not in charge of the database insert, so a lack of users in the DB doesn't necessarily indicate a problem in the plugin -- you could be mishandling the auth result, for example.

It looks like the problem was upstream:
yesodweb/yesod#1133

On Tue, Dec 29, 2015 at 11:26 AM, pat brisbin notifications@github.com
wrote:

Thanks for the report. Are you able to post the relevant code where you
use the plugin? Or better, a minimally reproducing repo? If not, I'll try
to set something up this week where I can test the behavior of the plugin
myself.

Please note that the plugin is not in charge of the database insert, so a
lack of users in the DB doesn't necessarily indicate a problem in the
plugin -- you could be mishandling the auth result, for example.


Reply to this email directly or view it on GitHub
#47 (comment)
.

OK, thanks for letting me know.