chore: share algorithm constant for jwt
What does this merge request do and why?
Create a shared constant with the algorithm value used to encode and decode JWTs.
How to set up and validate locally
This is a refactor where we change string to a constant, the value stays the same, can be tested by the tests
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.
Closes #488 (closed)