Is your feature request related to a problem? Please describe.
Is Token Mediation pattern supported by gocloak? I've looked over the docs but honestly couldn't find a way of doing it.
When no active session is found, the JavaScript application calls out to the BFF (C) to initiate the Authorization Code flow with the PKCE extension (described in Section 6.1.3.1), to which the BFF responds by redirecting the browser to the authorization endpoint (D). When the user is redirected back, the browser delivers the authorization code to the BFF (E), where the BFF can then exchange it for tokens at the token endpoint (F) using its client secret and PKCE code verifier.
Is your feature request related to a problem? Please describe. Is Token Mediation pattern supported by gocloak? I've looked over the docs but honestly couldn't find a way of doing it.
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps#name-token-mediating-backend
Describe the solution you'd like The ability to redirect a user to keycloak for authentication.
Additional context
When no active session is found, the JavaScript application calls out to the BFF (C) to initiate the Authorization Code flow with the PKCE extension (described in Section 6.1.3.1), to which the BFF responds by redirecting the browser to the authorization endpoint (D). When the user is redirected back, the browser delivers the authorization code to the BFF (E), where the BFF can then exchange it for tokens at the token endpoint (F) using its client secret and PKCE code verifier.