okta / okta-signin-widget

HTML/CSS/JS widget that provides out-of-the-box authentication UX for your organization's apps
Other
376 stars 319 forks source link

Customize "The resource owner or authorization server denied the request." error with i18n string? #2123

Open tonyfang-techjutsu opened 3 years ago

tonyfang-techjutsu commented 3 years ago

:information_source: If you have a question, please post it on the Okta Developer Forum instead. Issues in this repository are reserved for bug reports and feature requests.

I'm submitting a

Background info

We have an Okta OIDC SPA app and app with embedded widget. When a user who is not assigned (or is in a deny policy) for an OIDC app and attempts to sign in, they get the following message: The resource owner or authorization server denied the request.

It is not very user friendly.

If we could override that error message with an i18n string, that would be ideal.

Expected behavior

User-friendly message telling the end user they can't access the application.

What went wrong?

OAUTH_ERROR The resource owner or authorization server denied the request.

Steps to reproduce

Create Okta OIDC SPA app Add sign-in policy that denies access based on deny group Create app that embeds Okta SIW Assign Okta user to app Add Okta user to deny group Attempt login on app with embedded Okta SIW

Your environment

aarongranick-okta commented 3 years ago

@tonyfang-techjutsu If this is not currently possible, we should be able to add this capability. I've created an internal id OKTA-416413 for tracking this request.

tonyfang-techjutsu commented 3 years ago

Thanks @aarongranick-okta! I appreciate the quick reply.

ssbnirma commented 1 year ago

I am facing the same isssues..

11thandRagde commented 1 year ago

Me too