Giter VIP home page Giter VIP logo

Comments (4)

Pixelatex avatar Pixelatex commented on July 19, 2024 1

Right, so this is my bad on misunderstanding okta's auth servers. I need to use my company.okta.com/oauth2/default as my signin.

Will try it!

from okta-oidc-js.

oleksandrpravosudko-okta avatar oleksandrpravosudko-okta commented on July 19, 2024

Thanks for report @Pixelatex.

After logging into okta

Are you using the same issuer (https://${process.env.OKTA_DOMAIN}/default) when signing in?

Is specified 'kid' hBLe8Pk0HtpKnAeQ2LYKzA3XYhWTZJpxlkF-1OCr4bo returned from either of authorization servers endpoints?

https://${process.env.OKTA_DOMAIN}/oauth2/default/v1/keys
https://${process.env.OKTA_DOMAIN}/oauth2/v1/keys

from okta-oidc-js.

Pixelatex avatar Pixelatex commented on July 19, 2024

I don't really have an issuer field when I login. We are using next-auth which only accepts client_id, client_secret and domain.

The domain is company.okta.com/oauth2

oauth2/v1/keys returns hBLe8Pk0HtpKnAeQ2LYKzA3XYhWTZJpxlkF-1OCr4bo as the key while the default/ path returns a different one

from okta-oidc-js.

oleksandrpravosudko-okta avatar oleksandrpravosudko-okta commented on July 19, 2024

Tokens issued by org authorization server (company.okta.com/oauth2) can't be validated by custom authorization server (company.okta.com/oauth2/default) - you probably want to have token issued by custom authorization server during sign in. Please check out Authorization Servers doc page in case you haven't already.

from okta-oidc-js.

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.