title: Jhipster swagger always showing unauthorised in prod environment
body: <p>I am always getting unauthorised while trying to access swagger API documentation in jhipster. I am already logged in and I am able to access the API using the entities menu.</p>
  <p>The issue is only in prod environment. It works fine in local environment. The issue raised after upgrading the applications (gateway and APIs) from jhipster version 7.4</p>
  <p>tried disabling the <code>api-docs</code> under <code>springdoc</code> but no change</p>
  <p><strong>API page</strong>
  <a href="https://i.stack.imgur.com/5rfIi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5rfIi.png" alt="enter image description here" /></a></p>
  <p><strong>Network Calls</strong>
  <a href="https://i.stack.imgur.com/Ld8RD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ld8RD.png" alt="Network calls" /></a></p>