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
Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Your attention to detail here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
To make the library useful need to add custom Map claim when creating a new token.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the ideal solution
The method should be like ".withMapClaim("map", map)":
Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Your attention to detail here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
To make the library useful need to add custom Map claim when creating a new token.
Describe the ideal solution
The method should be like ".withMapClaim("map", map)":
String token = JWT.create()
.withMapClaim("map", map)
.sign(algorithm);
Need to be able to add ad-hoc JSON map structure as claim
Alternatives and current work-arounds
Current work-around to use JJWT or possibly hack into the JWT internals with reflection
Additional context
The text was updated successfully, but these errors were encountered: