-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
FeatureNew featureNew feature
Description
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:
- Create Gateway with Jhipster Blueprint
- Create Microservice Application using NHipster blue print
- Authenticate with Gateway
- Use Generated JWT calling (Microservice Application using NHipster) protected api
Expected behavior
Authentication/Authorizazion success
Screenshots
Desktop (please complete the following information):
- OS: Indepentent
- Browser Indepentent
- Version NHipster 2.0.0
NHipster configuration
- Version NHipster 2.0.0
gmarziou
Metadata
Metadata
Assignees
Labels
FeatureNew featureNew feature