Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

401 (Unauthorized) error should contain options with a body stating where is the error #123

Open
ibuziuk opened this issue Apr 6, 2017 · 0 comments

Comments

@ibuziuk
Copy link
Member

ibuziuk commented Apr 6, 2017

Another thing I need from che starter is a fine grained "401 (Unauthorized)" response on LIST/POST options with a body stating where you got the error e.g. is is the KC token that is broken, or the token for oso or from github that way we can report back to 'someone' in Platform that can redirect user to refresh tokens etc.
che-starter knows which 'broker' you got the token from and if it worked or not. so report that 401

{broker: 'x', msg: 'invalid token' }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant