Skip to content
Discussion options

You must be logged in to vote

Since you asked in our chat, I will post the answer here as well for the record.

So once Iogin is done then how to redirect back to that protected url instead of the default_browser_return_url set in kratos config?

You can pass the return_to query parameter when initializing the flow
That URL has to be whitelisted in the config

Thanks @zepatrik for answering this!

Self-Service User Logout for Browser Applications
Troubleshooting whitelisted URLs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@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
3 participants