JayPeJ
ZITADEL13mo ago
12 replies
JayPe

Avoid adding port in issuer url

Hello,
When the token is generated the issuer is : https//mydomain:443
Is it possible to avoid having the port at the end ?

"iss": "https://idp.dev.ludocare.com:443",

Why I'm asking ?
Because 443 port is implicit, and when using traefik as L4, the host header is automatically transformed
from https://idp.dev.ludocare.com:443
to https://idp.dev.ludocare.com

I know I can handle it by forcing the host header with traefik, but it's a workaround I would like to avoid.

If I do not force host header with traefik, then when introspecting token, I have the following error :
issuer does not match: Expected: https://idp.dev.ludocare.com, got: https://idp.dev.ludocare.com:443
Was this page helpful?