Skip to content

Dynamic login ui url #994

Answered by zepatrik
robbietree8 asked this question in Q&A
Jan 18, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

There was a similar topic in the slack: https://ory-community.slack.com/archives/C012RJ2MQ1H/p1608063605048300

ZipperSK 9:20 PM
Hi! We are using Kratos for website that is hosted on multiple top level domains. [...]

ZipperSK 9:35 PM
The problem is taht I need to specify multiple ui_url . One for each tld. So if I initialize registration flow from mydomain.sk a would be redirected with flowId to mydomian.sk and if it is from mydomain.cz I would be redirected to mydomain.cz
I could maybe make multiple Kratos instances (one for each subdomain), but I wonder if there is any simpler solution

ZipperSK 9:51 PM
So I studied a code for a bit (this part

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@robbietree8
Comment options

@zepatrik
Comment options

Answer selected by zepatrik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants