Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not send RTR_ERROR for regular 403 responses
An API may respond with a 403 because an AT is missing (which should invoke RTR), because an RT is missing (which should generate an error and end the session), or because a valid AT is inadequate to perform the requested action. Previously, all three were handled the same way. Now, only an actual RTR-failure will result in sending an `RTR_ERROR` event. In other cases, no event is dispatched and the response is returned as-is.
- Loading branch information