-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom login sample fails authentication with current instructions #133
Comments
Thanks for the report @actual-size - I'll take a stab at reproducing sometime today to see if I can get you any solutions. My immediate thought is the 401 error can pop up if the app you created was not a "SPA" app as you report. I'll look for other errors, but while I do so you can double check that step. |
Thanks for getting back quickly, I've double checked and it is a "SPA" app with the default settings. |
I've been unable to reproduce the errors listed here. The steps I followed:
This leads me to believe we may be seeing some configuration issues at the Okta Admin Console-side.
I was able to see an error where the widget appears to just sit there, when the user was not assigned to the application in the Okta Admin Console, so that may be related. I'll file a ticket to get that error addressed, but in the meantime I'd like to unblock what you are observing. |
Internal ref: OKTA-358619 |
Unfortunately I am no longer involved in the project that these issues were occurring on, so can no longer debug this. Hopefully it was just some configuration error. |
Followed README, testing on my employer's dev Okta tenant. Using a custom domain name as the issuer, so it is different from the
*-admin.oktapreview.com
developer portal url.Tested on Firefox. Steps taken:
npm install
in bothcustom-login
andokta-hosted-login
testenv
file with issuer and client ID found on developer portalnpm start
incustom-login
project{oktaBaseUrl}/api/v1/authn
that returnsHTTP 401
custom-login
and runnpm start
inokta-hosted-login
{oktaBaseUrl}/oauth2/default/api/v1/authorize
that returnsHTTP 200
okta-hosted-login
and restartcustom-login
The text was updated successfully, but these errors were encountered: