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 | 161 | January 22, 2024 | |
Keycloak sends 403 Access Denied with NodeJS Adapter | 10 | 7971 | November 3, 2021 | |
Keycloak-connect returns 403, when provided with bearer token | 2 | 1246 | March 19, 2024 | |
Nodejs Confidential Rest-Api w/ Permissions - Always 403s - What Am I Doing Wrong? | 0 | 759 | April 8, 2022 | |
NodeJS Adapter Authentication seems not working, 403 Access Denied | 7 | 6197 | November 14, 2022 |