You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
InternalOpenIDError: Failed to verify assertion
at /Users/username/development/project/subdirectory/node_modules/@passport-next/passport-openid/lib/passport-openid/strategy.js:184:36
at /Users/username/development/project/subdirectory/node_modules/openid/openid.js:1020:12
at /Users/username/development/project/subdirectory/node_modules/openid/openid.js:1148:16
at /Users/username/development/project/subdirectory/node_modules/openid/openid.js:578:13
at /Users/username/development/project/subdirectory/node_modules/openid/openid.js:547:13
at _parseHostMeta (/Users/username/development/project/subdirectory/node_modules/openid/openid.js:422:5)
at /Users/username/development/project/subdirectory/node_modules/openid/openid.js:542:9
at Request._callback (/Users/username/development/project/subdirectory/node_modules/openid/openid.js:229:7)
at Request.self.callback (/Users/username/development/project/subdirectory/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request.<anonymous> (/Users/username/development/project/subdirectory/node_modules/request/request.js:1161:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage.<anonymous> (/Users/username/development/project/subdirectory/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
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.
The text was updated successfully, but these errors were encountered:
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 jaredhanson/passport-yahoo#6 (something else I need to fork by the looks of it 😉 ) 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
A problem with the provider
A problem with the config
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 jaredhanson#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.
The text was updated successfully, but these errors were encountered: