Giter Club home page Giter Club logo

Comments (8)

havard avatar havard commented on August 24, 2024

You need to change the verification URL in sample.js to match your setup. The default URL in sample.js is http://example.com/verify, which I suspect doesn't do much for you unless you happen to be running your sample.js on port 80 of example.com. :)

from node-openid.

paddycarver avatar paddycarver commented on August 24, 2024

I've done that, to the same result. I mean, I never even get redirected to the endpoint. I don't think discovery ever occurs. Is it possible the GET request for discovery doesn't have an Accept header for "application/xrds+xml"? Is there any internal logging mechanism I can activate to figure out where my discovery is failing? I have a sinking feeling this is my own stupid fault, with a server mis-configuration or something.

from node-openid.

paddycarver avatar paddycarver commented on August 24, 2024

Poking around a bit, it seems as though https.get never emits an 'end' event. I'm on 0.5.0-pre. Any thoughts?

from node-openid.

havard avatar havard commented on August 24, 2024

That was an issue with node earlier (back in 0.4.0). If this has reappeared in 0.5-pre, please report it to the node guys.

from node-openid.

paddycarver avatar paddycarver commented on August 24, 2024

Whoa, quick response. Will look into it, thanks. :)

from node-openid.

paddycarver avatar paddycarver commented on August 24, 2024

Looks like this is an issue in 0.4.8, as well. Do you know which versions of node this module works with?

from node-openid.

havard avatar havard commented on August 24, 2024

I can confirm it works on 0.4.1.

from node-openid.

paddycarver avatar paddycarver commented on August 24, 2024

Awesome, thanks for the info. I'll have to keep an eye on it to see if the bug gets patched in later versions of node.

from node-openid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.