You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.
added the option to decode the header
Because the kid in our protocol is included in the header of the token, we need to decode the whole token to get the secret and not only the payload. (non-conflicting change)
added the event "unauthorized" emitted to server
For the purposes of keeping logs at the server, I added the "unauthorized" event to be emitted to the server also, and not only to the client.
added a message to server and client when the timeout has passed
Because there was no error message when timeout for authentication has passed, I created one, and I included it to the "unauthorized" events emitted to the server and the client.
The text was updated successfully, but these errors were encountered:
Things I changed in the library:
Because the kid in our protocol is included in the header of the token, we need to decode the whole token to get the secret and not only the payload. (non-conflicting change)
For the purposes of keeping logs at the server, I added the "unauthorized" event to be emitted to the server also, and not only to the client.
Because there was no error message when timeout for authentication has passed, I created one, and I included it to the "unauthorized" events emitted to the server and the client.
The text was updated successfully, but these errors were encountered: