Comments (4)
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.
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.
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.
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)
- Security vulnerabilities in jwt-verifier dependencies HOT 2
- @okta/jwt-verifier > njwt > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() HOT 1
- ID token refresh Feature Request/Question HOT 1
- decode function ? HOT 2
- a way to verify using a pem ? HOT 1
- Typescript Options interface missing jwskUri property HOT 2
- Security vulnerability in [email protected] HOT 2
- okta-oidc-js error in documentation on how to work with Proxies HOT 2
- Showing component only for authenticated user, but for every path, without rerendering each time path changes. HOT 5
- SecureRoute is not passing Router props to my component HOT 2
- security vulnerabilities from lodash HOT 2
- done is not a function in oidcUtils.bootstrapPassportStrategy HOT 12
- react-router Link to a SecureRoute yields "OAuth flow response state doesn't match request state" HOT 4
- /implicit/callback route not working for any version of @okta/okta-angular HOT 5
- Security vulnerability in jwks-rsa's dependency HOT 5
- Server-side request forgery HOT 3
- Creating Multiple OIDC instances in Nodejs('@okta/oidc-middleware') HOT 6
- Error while resolving signing key for kid . Unable to verify first certificate HOT 2
- JWT-verifier -> [JwtParseError: Unexpected signature algorithm] HOT 6
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 okta-oidc-js.