Generator-jhipster: Full authentication is required to access this resource error with new microservice

Created on 1 Apr 2018  路  1Comment  路  Source: jhipster/generator-jhipster

I have created projects with uaa,gateway and microservice and all work correctly.
Now trying to create new microservice but when trying to access it with gateway I get authentication error

   {type: "http://www.jhipster.tech/problem/problem-with-message", title: "Unauthorized", status: 401,鈥
   detail:
   "Full authentication is required to access this resource" 
   message: "error.http.401"
   path: "/api/distributionlists"
   status: 401
   title: "Unauthorized"
   type: "http://www.jhipster.tech/problem/problem-with-message"

console error

     JWT token compact of handler are invalid.
     Unauthorized: Full authentication is required to access this resource
     Resolved exception caused by Handler execution: 
     org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication 
     is required to access this resource

>All comments

This ticket has been closed as the guidelines are not followed.

Tickets must follow our Guidelines, as mentioned in:

  1. our Readme file on the front page of the project,
  2. the "create a new ticket" page and
  3. our Help page

We have also created a template on the "create a new ticket" page to help you follow those guidelines.

If this is indeed a JHipster bug, please open a new issue with proper details or update this issue with all details and request to reopen.
Issues opened without proper details will be closed without explanation.

If you have a question please use Stack Overflow, and tag the question with jhipster. This helps the project to keep the issue tracker clean. Also, Stack Overflow will give your question a larger audience:

  • This will increase your chances to get an answer
  • Answers will be of higher quality, as there is a voting system
  • This will also help other users who might have the same issue, as questions are tagged and easily searchable

Finally, you can also use our chat room on gitter.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pascalgrimaud picture pascalgrimaud  路  3Comments

DanielFran picture DanielFran  路  3Comments

edvjacek picture edvjacek  路  3Comments

SudharakaP picture SudharakaP  路  3Comments

tomj0101 picture tomj0101  路  3Comments