GithubHelp home page GithubHelp logo

Comments (12)

fiddur avatar fiddur commented on June 12, 2024 1

Ok I see. The version in npm is terribly outdated. I hope @jaredhanson can release a newer version soon, as I think the strategy works as intended in current master. Some additions still lie as PRs, but current should work better than the old version in npm.

from passport-openidconnect.

prashanthc avatar prashanthc commented on June 12, 2024 1

Any update on this? It seems like we're still missing the id_token validation and also the verification of access-token.

from passport-openidconnect.

fiddur avatar fiddur commented on June 12, 2024

passport-openid is for the older OpenID standards. OpenID Connect is quite different from the older OpenID 1 and 2.

from passport-openidconnect.

fiddur avatar fiddur commented on June 12, 2024

@pottabathini I don't see the TODO you are referring to, what line are you talking about?

from passport-openidconnect.

pottabathini avatar pottabathini commented on June 12, 2024

I didn't see that TODO: in your current version but in when I install this package from npm (you can see the version which I installed in the attached file).

Please correct me if I am refering any wrong version or repository.

package.zip

from passport-openidconnect.

pottabathini avatar pottabathini commented on June 12, 2024

I am attaching strategy file also for your reference. If I am referring a wrong version please let me know
strategy.zip

from passport-openidconnect.

pottabathini avatar pottabathini commented on June 12, 2024

Thank you for that. Can I configure the master version in my project? If yes I will try out with my scenarios(I am working on Azure B2C policies now) and bug you if I stuck :-)

from passport-openidconnect.

fiddur avatar fiddur commented on June 12, 2024

Yeah, you should be able to specify something like git://github.com/jaredhanson/passport-openidconnect.git#1cf968b6eafd11e4ceb153c2ec1e6c38b69d6592 in your package demendencies.

It's good to have the commit-ish there for now, since master is under development and the API might change.

from passport-openidconnect.

pottabathini avatar pottabathini commented on June 12, 2024

The commit-ish you given giving many erros and it not allow me to login atleast :-( Can you guys try to push code at the earliest.

Below are the few problems we identified

  1. Hardcoded value for response_type to "code" (params['response_type'] in strategy.js file)
  2. When data returning back signin callback firing endlessly and ended up with too many redirects error.
  3. when validating tokens we require [jwks_uri]/ [jwks keys] also for manual settings I didn't see that option.

The current master code is working with out any flaw excpet it does not have a token vlidation part in it.

from passport-openidconnect.

pottabathini avatar pottabathini commented on June 12, 2024

Is there any plans to push code to master in near future?

from passport-openidconnect.

fiddur avatar fiddur commented on June 12, 2024

@pottabathini I think @jaredhanson might be too busy I'm afraid... There are a lot of forks to this repo though that are being used.

from passport-openidconnect.

jgf5013 avatar jgf5013 commented on June 12, 2024

I'm super confused about this. Why would we want to use the library if it doesn't verify the token? I see there are lots of checks on the id token here, but nothing to verify the token itself hasn't been tampered with. And no references to the access token. Am I missing something?

from passport-openidconnect.

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.