JWT auth comes to Ably
JSON Web Tokens (JWT) are a secure method for ensuring trust and authenticity between two parties on the internet. Ably Realtime recently added official support for JWT authentication as part of its existing Token Auth mechanism. JWT can be used with Ably in two ways: 1) generating an Ably JWT using the API key, or 2) embedding an Ably token within an existing JWT. The JWT is made up of a header, payload, and signature, which contain information about the token type, hashing algorithm, application API key, and more. Currently, Ably supports HS256 as the hashing algorithm for signing JSON Web Tokens.
Company
Ably
Date published
May 10, 2018
Author(s)
Srushtika Neelakantam
Word count
639
Language
English
Hacker News points
None found.