ZITADELZZITADEL
Powered by
JayPeJ
ZITADEL•15mo 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"
"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
https://idp.dev.ludocare.com:443

to
https://idp.dev.ludocare.com
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
issuer does not match: Expected: https://idp.dev.ludocare.com, got: https://idp.dev.ludocare.com:443
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

In cluster api issuer mismatch
Stephen SolkaSStephen Solka / questions-help-bugs
4w ago
Apple Sign-in "issuer does not match" error
pmavPpmav / questions-help-bugs
10mo ago
Self-hosted; Set TOTP Issuer
CrimboCCrimbo / questions-help-bugs
5mo ago