Just saw your fork last night and noticed it said it fixed this issue that pops up if a user clicks authorize more than once.
I don't have a ton of experience with Discord oauth and Passport but I'm still seeing this error even if I comment out the rest of my Discord auth function (authHandler in this case). The basis of my Discord strategy for reference:
There's more to it but I can still reproduce the error even if it's all commented out so I don't think it's relevant. Sorry if I missed something obvious that I'm supposed to be doing differently compared to the main repo.
This also happens to be my first time using a fork of a package, so I should probably verify with you that I'm doing this correctly in my package.json:
"passport-discord": "https://github.com/tonestrike/passport-discord.git",
Let me know if you need any additional info, thanks!
Just saw your fork last night and noticed it said it fixed this issue that pops up if a user clicks
authorize
more than once.I don't have a ton of experience with Discord oauth and Passport but I'm still seeing this error even if I comment out the rest of my Discord auth function (
authHandler
in this case). The basis of my Discord strategy for reference:Snippet of authHandler:
There's more to it but I can still reproduce the error even if it's all commented out so I don't think it's relevant. Sorry if I missed something obvious that I'm supposed to be doing differently compared to the main repo.
This also happens to be my first time using a fork of a package, so I should probably verify with you that I'm doing this correctly in my package.json:
"passport-discord": "https://github.com/tonestrike/passport-discord.git",
Let me know if you need any additional info, thanks!