auth0-react-samples icon indicating copy to clipboard operation
auth0-react-samples copied to clipboard

Handle 403 Insufficient Scope errors in UI

Open swyxio opened this issue 4 years ago • 1 comments

hello,

when testing an RBAC-enabled external API, there are quite a lot of opportunities for this error to show up:

image

this manifests as a silent error in the UI (aka nothing happens) and can be quite frustrating. i recommend detecting this error, and showing it in the UI with recommendations on resources or a checklist to help people fix their Insufficient scope errors in auth0.

cc @frederikprijck who knows what this is like

swyxio avatar Jan 12 '21 16:01 swyxio

Thanks @sw-yx, there is definitely an opportunity to show better error handling here, I'd like to implement this in a generic way so that when you encounter any error, we highlight that on the screen.

Let me leave this open and I'll try to find some time next week to implement that.

stevehobbsdev avatar Jan 15 '21 16:01 stevehobbsdev