Comments (1)
You found a bug. The variable error
was undefined, hence the crash you experienced. I've changed sample.js so it now provides an error in the response instead ('Authentication failed').
There are no requirements for which status codes you should use on the relying party (i.e. client) side when authentication fails. Choose whatever is appropriate for your scenario. 500 is just a (bad) choice made for our sample.
from node-openid.
Related Issues (20)
- params.hasOwnProperty not a function on Node v6 HOT 1
- http proxy support HOT 1
- Invalid assertion response from provider / No providers found for the given identifier HOT 1
- Invalid return URL error HOT 1
- openid.sig does not match ourSignature in Node 6 HOT 11
- failing test locally HOT 1
- a bug in [email protected] HOT 4
- Breaking issue in 1.0.1 HOT 4
- 1.0.2 breaks encoding/decoding HOT 2
- Authenticating against Yahoo OpenID fails HOT 1
- Recommended way to check nonces in multi-server environment HOT 1
- Can you breify explain what these fields are? I trying to figure out open id, but am a super noob HOT 1
- Documentation/Sample code for receiving/parsing answers from extensions
- Is there an overlook int the Doc for the mixin of `removeAssociation` HOT 1
- Multiple URI parameters are NOT considered ('No valid providers were discovered for the asserted claimed identifier) HOT 4
- Zero byte on default prime HOT 4
- VerifyAssertion does not fail when return URL with different parameter is provided. HOT 3
- Please update dependencies (request module), due to vulnerability HOT 1
- Trying to get in touch regarding a security issue HOT 1
- .verifyAssertion doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-openid.