Ishika Tiwari

Ishika Tiwari

  • 224
  • 8.4k
  • 433.5k

Getting a 401 Unauthorized when using a JWT token b/w two services

Jan 17 2025 10:46 AM
  • I have an identity service that generates a JWT token after login.
  • The token is included in the Authorization header as Bearer <token> to access another service.
  • Identity service endpoint: /api/Auth/login
  • Admin service endpoint: /api/Usermanagement

Despite ensuring the token is valid and not expired, I receive a 401 Unauthorized response.
What could be causing this issue


Answers (1)