* What Why * Oauth will return a 401 when the user is not authorised as per the [OAuth docs|https://github . Deal with that com/openshift/oauth-proxy#endpoint-documentation].
*What* Redirect the user on receipt of a 401 from any requests. A sample of code to redirect the front end user to the oauth login page can be found [here|https://github . com/aerogear/mobile-security-service/blob/Refactor-UI/ui/src/containers/HeaderContainer.js#L26-L28] and is documented [here|https://github.com/openshift/oauth-proxy#endpoint-documentation] e.g. /oauth/sign_in doubles as a logout. |
|