Currently, I am using Flex Gateway as an edge gateway to secure access to the frontend (which is divided into logged-in and non-logged-in areas). To validate if the user is authenticated in the logged-in area, I implemented the “OAuth 2.0 Token Introspection” Policy.
However, I identified a critical issue in the authentication flow: if the access token expires before the user enters the application — that is, during the attempt to access a protected resource (e.g., https://gateway.test.com/application/XXX in the authenticated area) — the Flex Gateway blocks the request.
How can I configure the Gateway to perform a redirection to the login URL (https://gateway.test.com/auth/login) so the user can log in again?
1 risposta
Hi, sorry for the inconvenience. If you don't receive a response here, we recommend reaching out to our support team for further assistance. You can do so by visiting https://help.salesforce.com/s/articleView?id=000393090&language=en_US&type=1