Skip to content
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

No error handling for "User creation is disabled." error message #3053

Open
galinski-n opened this issue Jan 31, 2023 · 1 comment
Open

No error handling for "User creation is disabled." error message #3053

galinski-n opened this issue Jan 31, 2023 · 1 comment
Labels

Comments

@galinski-n
Copy link

Describe the bug

Within the Okta SignIn Widget, I have added the use of the Google IdP to allow signing in with a Google account. I do not have JIT provisioning turned on. If the account does not exist, the user is not logged in and no account is created. However, a very unfriendly message appears stating "User creation is disabled" and there is no way to alter this messaging.

What is expected to happen?

An override to alter this messaging.

What is the actual behavior?

No override exists.

Reproduction Steps

Add Google IdP to SignIn Widget
Ensure that JIT is off (option to redirect to signin page is selected)
Attempt to sign in with Google using an account that does not exist in Okta

SDK Versions

Include="Okta.Sdk" Version="5.0.0

Execution Environment

Chrome/Brave browsers, Windows 10, JavaScript/C# stack

Additional Information?

image

@galinski-n galinski-n added the bug label Jan 31, 2023
@denysoblohin-okta
Copy link
Contributor

This error message comes from sign-in redirect URL
<your-okta-host>/login/callback?state=XXX&error=access_denied&error_description=User+creation+was+disabled.
It's not one of error messages that come from API and can be translated by widget with i18n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants