colossal-whale-5633603/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?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.
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.
If the `Accept` header is set to `application/json`, the login flow will be returned as JSON instead.
colossal-whale-5633603/04/2022, 3:49 PM