I have a jhipster microservice named as blog and a jhipster gateway. I have created a entity named "Farmer". I have Created below two users in keycloak.
Users: Pradeep and Rahul
1) FOR ROLE_ADMIN
While Accessing enitity in Admin panel in jhipster gateway, I am getting unauthorized error for admin (Pradeep), whereas for user (rahul) I am able to access entity.
PFB screenshots.
i) Admin Panel Home Page
ii) Admin Entity Page
When admin tries to click on farmer entity below is the error I am getting.
iii) User Home Page
iv) User Entity Page
When user (rahul) tries to access farmer entity he is able to access it.
Please let me know what could be the issue.