Okta OIDC/OAuth response error_description

Hi,

I am trying to test an application access and when the user is not assigned to an app, we receive the below URL with query parameters. Is the error_description can be removed or the text can be updated?

https://example.com?error=access_denied&error_description=The%20resource%20owner%20or%20authorization%20server%20denied%20the%20request

Thanks.

No, this message cannot be changed. As per OIDC spec, this error is returned back to your application via the registered redirect_uri, which means you can configure your application to catch these types of errors and present a more user-friendly error message/screen.