I’m having a problem getting the traefik-forward-auth service to start.
The container just dies after about 2 seconds with this error:
level=fatal msg=“failed to get oidc parametere from oidc connect”
Traefik is working and I can protect services with it, including the Keycloak Service.
Keycloak seems to be working and I have created a client and set things up according to the article.
From what I can tell the error that is happening is when it tries to create the URI for the OIDC connection which should come from the environment statements for the traefik-forward-auth service.
My settings in keycloak look like this:
Client ID: forward-auth
Client Protocol: openid-connect
Access Type: confidential
Root URL: https://domain.us
Valid Redirect URIs: https://domain.us/*
Admin URL: https://domain.us
Web Origens: https://domain.us
(last 3 settings were automatic when I built the client and included the Root URL)
keycloak service config:
traefik-forward-auth config: (currently have env file commented out and put environment in yml to save some effort while troubleshooting)