fix: transient payload example#2650
Open
vinckr wants to merge 5 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Improves Ory Kratos email/SMS documentation by making the HTTP courier payload and template-type lists track the upstream Kratos source, and by expanding the guidance/examples around transient_payload usage in email templates.
Changes:
- Embed upstream Kratos source snippets via
CodeFromRemotefor the HTTP deliveryctxmodel and template type constants. - Add a new “Events that trigger an email” section + an additional template-variable tab (
verifiable_address_changed). - Add a worked example showing how to pass brand/language via
transient_payloadinto template links, and cross-link it from the “Bring your own UI” guide.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/kratos/emails-sms/05_custom-email-templates.mdx | Adds template-type source embed, event/condition table, clarifications on authoritative fields, and a new transient payload example. |
| docs/kratos/emails-sms/01_sending-emails-smtp.mdx | Adds ctx payload definition and example Jsonnet template as upstream-synced embeds, plus a hand-maintained field table. |
| docs/kratos/bring-your-own-ui/05_custom-ui-basic-integration.mdx | Adds a link pointing readers to the transient payload email-template example. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue or Design Document
Checklist
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact security@ory.com) from the maintainers to push the changes.
Further comments