Hi, i am using keycloak-connect with node js and encountering a problem which is whenever i am using the keycloak.protect() its giving me the 403 error code which is completely fine when user has no permission for accessing the resource but when the token gets expired its also showing me the 403 status code. Is there any way to show 401 status code when the token gets expired?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| 403 while using keycloak-connect ( keycloak.protect() ) | 0 | 174 | January 22, 2024 | |
| Keycloak sends 403 Access Denied with NodeJS Adapter | 10 | 8001 | November 3, 2021 | |
| Keycloak-connect returns 403, when provided with bearer token | 2 | 1261 | March 19, 2024 | |
| Letting keycloak-connect in node.js and client side javascript collaborate? | 0 | 563 | December 19, 2019 | |
| Nodejs Confidential Rest-Api w/ Permissions - Always 403s - What Am I Doing Wrong? | 0 | 761 | April 8, 2022 |