Multiple self service user interfaces #3395
-
Is it possible that a Kratos instance have multiple self service UIs? The use case is the following. We have a native app, but also a browser version of it. How can we attach once the native self service and the browser self service to a single Kratos instance? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @openscript The native flows just call the https://www.ory.sh/docs/identities/native-browser Both will work out of the box on the same instance of Kratos. The only thing that is not supported in Kratos directly, is having multiple flow UIs set for browser applications. For that you need to spin up multiple Kratos instances and manage different configuration files. Ory Network, however, supports multiple custom domains on a single project. See this document https://www.ory.sh/docs/kratos/bring-your-own-ui/configure-ory-to-use-your-ui |
Beta Was this translation helpful? Give feedback.
Hi @openscript
The native flows just call the
api
endpoints while the web app uses thebrowser
endpoints. Browser apps usually redirect the user between flows (except for SPAs), while native apps only use ajax JSON requests.https://www.ory.sh/docs/identities/native-browser
Both will work out of the box on the same instance of Kratos. The only thing that is not supported in Kratos directly, is having multiple flow UIs set for browser applications.
e.g. login on
https://app1.com/login
andhttps://app2.com/login2
.For that you need to spin up multiple Kratos instances and manage different configuration files. Ory Network, however, supports multiple custom domains on a single project. See th…