feat: add tip to separate invite from recovery#2616
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Kratos “Invite users” documentation to suggest using a return_to parameter as a way to differentiate first-time invitations from regular password recovery, by carrying context into the recovery/settings flows.
Changes:
- Adds a new
:::tipexplainingreturn_to, including an example request and guidance on using it for invitation branding.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Add a `return_to` query parameter to control where the user lands after they set their | ||
| credentials. The target URL must be allow-listed in `selfservice.allowed_return_urls` | ||
| (see [Browser redirects](../concepts/browser-redirect-flow-completion.mdx)). |
|
Adds a tip to the Invite users guide showing how to pass return_to on POST /admin/recovery/link, so admins can control where an invited user lands after setting credentials — and brand a first-time invitation differently from a normal password reset (e.g.
|
3612d82 to
0660d6b
Compare
No description provided.