Open vickylance opened 3 years ago
Put profile as second argument on your callback, being the first one null.
I'm not exactly sure what your code is doing, but I've added a working example to the repo that you can look at to hopefully figure out what is happening.
Not sure if something changed in the discord oauth strategy but after clicking on the authorize button its getting redirected to failureRedirect.
This is what I sent in callbackURL = http://localhost:3000/api/v1/auth/redirect And its the same I set in discord redirect URL