-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid authorization bearer token error (#11)
* Log user out who authenticates with bad token If a token is no longer valid, or does not validate with the key on the server, we are responding with a 401 HTTP status code. In the front-end client, we are intercepting 401 errors and logging the user out of the front-end. This raises an important secondary issue, in other places we may need to fix response code to 403 if a user is validated with system but does not have access to a resource. * Respond with correct error code (403) lacking perm
- Loading branch information
1 parent
ca6c4a8
commit c42dc98
Showing
4 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters