Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[openid support] passport-steam not working because callback doesn't match #38
Ah, thanks I'd completely missed it was using OpenID and not oAuth!
Looking at a few examples and the official Passport documentation it looks like it shouldn't be hard to support OpenID as well, the only real difference is it is missing a parameter - it doesn't return a RefreshToken, just an AccessToken – which messes up what next-auth is expecting the order of parameters passed to the callback to be.
This should be relatively easy to accommodate and I'm going to make adding support for OpenID connections a feature request.
Regarding the email, yes it does need a unique email address property for each user, but it's okay if the service doesn't return one.
Some services don't (including Twitter, unless you explicitly enable it) in which case you can return something like