JWT validation

After successful authentication, every user has a JWT generated for them. Generated JWT is signed by a secret key. To make sure that a JWT is relevant and belongs to the user of your Login project, you should validate its value.

To validate a JWT:

  1. Open your project in Publisher Account.
  2. Click Login in the side menu and go to Login projects > your Login project > General settings.
  3. In the Authorization block, copy the Secret key value.
  4. Choose the library and connect it on the server side of your application.
  5. Pass the secret key value to the validation function entry.


Do not reveal your secret key to anyone. If it was compromised, please update it.