okta / samples-js-angular

samples-js-angular
https://github.com/okta/samples-js-angular
Other
73 stars 149 forks source link

The redirectUri passed to /authorize must also be passed to /token for Custom login #76

Open vyassu opened 4 years ago

vyassu commented 4 years ago

User accesses the app, then being redirected to okta login form, successfully logins and then redirected to /implicit/callback url and then this error appears.

Looks like an issue with okta-auth-js, please update to latest version of the library to fix this issue

swiftone commented 4 years ago

@vyassu - You are correct, this is an issue that can happen when using PKCE flow and one specific version of our okta-auth-js library. A fresh install (or override your lock file) should grab the latest bugfix version already.