Authentication works, when I access my whoami I am redirected to Keycloak. Unfortunately, the bearer token is not forwarded in the X-Forwarded-JWT header.
The X-Forwarded-User Header works as expected but i can' change the name of the header with the EMAIL_HEADER_NAMES env var.
Hello,
I use this middleware for Keycloak (generic OpenId Connect) and would like to get the JWT from Keycloak forwarded.
Is this possible? I need this token in my frontend to authenticate other API accesses later on.
I have the following config:
Authentication works, when I access my whoami I am redirected to Keycloak. Unfortunately, the bearer token is not forwarded in the
X-Forwarded-JWT
header. TheX-Forwarded-User
Header works as expected but i can' change the name of the header with theEMAIL_HEADER_NAMES
env var.Thanks for the answer in advance :)