remix-auth-socials
remix-auth-socials copied to clipboard
DiscordStrategy is not calling verify function
Describe the bug
When using the DiscordStrategy, the verify function should be called after the authentication is completed. However, when checking the session data, it only returns something called "oauth2:state" with the according state that was passed to discord. When trying to log something in the verify function, nothing is being printed out.
Your Example Website or App
https://github.com/mezodev0/shishabot-web
Steps to Reproduce the Bug or Issue
- Create an Application via https://discord.com/developers/applications
- Copy paste .env.example
- Fill out values
- Start project
- Click the link to the login page
- Click on the login button
- Authenticate via Discord
Expected behavior
I expected the discord user to be returned, but I am getting nothing.
Platform
- OS: Ubuntu Linux
- Browser: Firefox