https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
c

colossal-whale-56336

03/04/2022, 10:33 AM
We have many apps that have their own login screens but would use the same Kratos instance, is this ok? Is there a way of initiating flows without all the redirects? Our React application at the minute doesn't have this behaviour.
m

magnificent-energy-493

03/04/2022, 11:22 AM
Hello Bradley,
We have many apps that have their own login screens but would use the same Kratos instance, is this ok?
that is ok!
Is there a way of initiating flows without all the redirects?
There is a way for API clients that will receive a JSON response instead of a redirection, but that feature still needs documentation. Thats all I could find in a quick skim, I hope that helps.
Copy code
If the `Accept` header is set to `application/json`, the login flow will be returned as JSON instead.
I will see to include this in my recent docs PR and update it here: https://www.ory.sh/docs/kratos/concepts/browser-redirect-flow-completion#json since the feature is implemented, just not documented here.
c

colossal-whale-56336

03/04/2022, 3:49 PM
Thanks for that @User 🙂
2 Views