okta-signin-widget icon indicating copy to clipboard operation
okta-signin-widget copied to clipboard

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

Open tonyfang-techjutsu opened this issue 3 years ago • 4 comments

: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

  • [x] bug report
  • [x] feature request

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

  • Okta Sign-In Widget Version: 5.7.1
  • Browser:
  • OS:
  • Language:

tonyfang-techjutsu avatar Jul 29 '21 21:07 tonyfang-techjutsu

@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.

aarongranick-okta avatar Jul 29 '21 21:07 aarongranick-okta

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

tonyfang-techjutsu avatar Jul 29 '21 21:07 tonyfang-techjutsu

I am facing the same isssues..

ssbnirma avatar Feb 25 '23 05:02 ssbnirma

Me too

11thandRagde avatar Jul 20 '23 13:07 11thandRagde