Skip to content

Improve error messages shown in the management ui when using oauth2 authentication #12261

@MarcialRosales

Description

@MarcialRosales

Is your feature request related to a problem? Please describe.

When an user gets an error message like "No authorized" there could many reasons for it. Most of the time, users does not know how to proceed.

Describe the solution you'd like

There are two solutions or course of action to address this problem. One is to try, whenever possible, to use a more precise error message which gives more hints as to what the root cause might be. For instance, if the user is lacking some permissions, indicate "Not authorized. User does not have any permissions to performed the requested action".

The second course of action is to provide a link to the Oauth 2 troubleshooting guide. We can use the troubleshooting guide to either help the user carry out some actions to solve the problem and/or provide some links to key areas of the documentation that may help the user solve the problem.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions