title: How can I enable auth only for external clients in Spring for a microservices project?
body: <p>I'm working on a project where I am using microservices to handle various portions of my business logic. My current implementation uses JWT tokens to authenticate requests. For performance reasons, I need intermodule requests to skip the token generation or authentication step and always be allowed.</p>
  <p>One approach I thought of was configuring my project modules to use a token with an &quot;infinite&quot; expiry so to speak. Is this an appropriate approach or is there a better way to achieve what I want.</p>
  <p>Thanks in advance!</p>