Open nickhall opened 5 years ago
Any updates @nickhall @rwky ?
@soorur thanks for the ping this one must have got lost in my inbox.
An error of InternalOpenIDError: Failed to verify assertion
is triggered by the openid module. The trace (thanks for that makes life much easier :+1:) points to this https://github.com/havard/node-openid/blob/master/openid.js#L1148
If you inspect the InternalOpenIDError
object it should have an openidError
property with the error from the openid module. A bit of googling myself found this https://github.com/jaredhanson/passport-yahoo/issues/6 (something else I need to fork by the looks of it :wink: ) I checked and we have the latest version of openid now looking at the sample code I'm guessing there's some sort of internal openid provider not a provider such as yahoo etc. which suggests it maybe either
1) A problem with the provider 2) A problem with the config 3) Something in between (a proxy/firewall) which is munging requests
Either way I don't think there's much more I can do on this one. If @nickhall can replicate this using a public provider I can try then I can debug more.
Reposted from https://github.com/jaredhanson/passport-openid/issues/45
I'm using this library to try and connect to an internal OpenID 2.0 authentication provider, but it fails with the following error message.
I'm attempting to access it from express with the following code:
Stepping through the code with a debugger, I can see that the user data is successfully retrieved from the server, but that the list of providers comes up empty. Googling around it seems that this is a fairly common issue generally caused by version incompatibilities, but I haven't been able to pinpoint the exact cause in this case.