Z
ZITADEL
Z
ZITADEL
Email links not using configured external domain
Original message was deleted
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,316
Members
View on Discord
F
FFO
โข
7/10/24, 10:55 AM
Hm that looks like a weird problem I have not seen in a while
@buzziebee can you share your zitadel
/proxy config
?
My hunch would be that zitadel somehow does not read the config correctly
.
.
. you should see the url printed at startup if it is correctly read
F
FFO
โข
7/10/24, 3:24 PM
Hm not from the top of my mind
.
What do you see when zitadel starts
? Does that URL look the same as the externaldomain
?
F
FFO
โข
7/10/24, 3:45 PM
ok its good to know that this is the same
.
What happens if you trigger a password reset
, is the mail wrong in these mails
?
The only thing I could comprehend would be if emails would be delivered before the domain was set
.
F
FFO
โข
7/11/24, 1:42 PM
Hm I think we pass on the domain we get from the client
So you could try sending the domain as
"host
" header in the api call
.
This also relates to some extent on this issue we have
https://github.com/zitadel/zitadel/issues/8279
GitHub
Domain Handling ยท Issue #8279 ยท zitadel/zitadel
Current Situation ZITADEL currently selects the instance context based on a HTTP header
(see order below
) and checks it against the list of instance domains
. Let
's call it instance or API domai
.
.
.
B
buzziebee
@FFO is there an alternative way to hit these endpoints other than the nodejs li...
F
FFO
โข
7/19/24, 8:58 PM
Hey
, with grpc it might be the authority header
(since it uses http2
) kind of tricky to tell since the libs and proxies do some magic here
F
FFO
โข
7/19/24, 8:59 PM
And yeah there is an openapi spec
, you should find some guidance here
https://zitadel.com/docs/apis/introduction
ZITADEL Docs
ZITADEL exposes all features via different gRPC and REST APIs and provides SDKs for popular languages and frameworks
.
F
FFO
โข
7/24/24, 6:49 AM
Good to know
.
The openapi spec should be exposed by zitadel for example
https://zitadel.cloud/openapi/v2/swagger/v2/zitadel/zitadel/
B
buzziebee
So I managed to get it working by manually sending http requests to the api endp...
F
FFO
โข
7/24/24, 6:50 AM
what problems do you see with gRPC
?
B
buzziebee
The issue with grpc is that even though I'm setting the authority header to be m...
F
FFO
โข
7/24/24, 9:39 AM
Hm I see
, that is not great yeah
.
Need to think about a good solution for these cases