I fixed the issue by adding the issuer parameter in the Angular interceptor configuration that adds the token in the API request headers. That way the API can now correctly validate the refreshed tokens.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Auth0 Access token from next.js is not working in nest.js API returning 401 | 2 | 81 | April 24, 2025 | |
| AuthHttpInterceptor doesn't add token to authorization header - Error 401 unauthorized - Angular | 1 | 3145 | January 13, 2023 | |
| Failed to load resource: the server responded with a status of 401 () in React.js/Nest.js | 9 | 1936 | December 4, 2023 | |
| Users are being redirected to login randomly a few times a day | 1 | 57 | September 5, 2025 | |
| Authorization layer from Angular to NestJS | 1 | 607 | March 21, 2024 |