Open pietromarrone opened 2 years ago
Thanks for the issue! It is a feature that it would be great to implement. If you want to contribute, is simple.
signOptions: {
expiresIn: '3h',
algorithm: 'HS512'
}
You can do these changes on your microservice and after adding to the templates.
Thanks in advance
Describe the bug In a microservices architecture it is possible that some services are written in Java (JHipster) while others in NodeJs (NHipster), it would be advisable to have a compatible JWT Token. At the moment this does not happen, the token expected by NHipster is with HS256 encoding, even by changing this encoding to the token is not compatible as it differs in the authorities attribute name.
To Reproduce Steps to reproduce the behavior:
Expected behavior Authentication/Authorizazion success
Screenshots
Desktop (please complete the following information):
NHipster configuration