Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Make JWT data more configurable #407
We're currently stuck with a few limited options for the JWT token.
It would be great if we had full control over what goes in. For example, the ability to add our own custom fields and choose what field authentication places the userId in (i.e.
JWT data is usually application specific, so it would make sense to allow that data to be configurable.
Ideally we'd be able to pass in a JSON object and the JWT data would be set to that JSON object. This would make everything malleable and controllable by the developer.