NextAuth with Discord & GitHub
Hey, I want to use both Github and Discord on my app, and I want to attach the profiles to the sessions so that they are accessible from the client.
The user must first sign in with Discord and then the GitHub account can be linked. Can somebody please explain how I can do this?
1 Reply
It currently works, in a sense that GitHub oauth is working, however I cannot access any meaningful data in the session. Ideally, I'd be able to have all Discord & GitHub profile data in the session.