Skip to content

feat(bridge): add return_to_url to bridge payload#251

Merged
SeanROlszewski merged 1 commit into
mainfrom
feat/return-to-url-payload
May 8, 2026
Merged

feat(bridge): add return_to_url to bridge payload#251
SeanROlszewski merged 1 commit into
mainfrom
feat/return-to-url-payload

Conversation

@SeanROlszewski
Copy link
Copy Markdown
Contributor

@SeanROlszewski SeanROlszewski commented May 8, 2026

Summary

  • Adds the optional return_to URL to the encrypted bridge request payload, serialized as return_to_url
  • The connector URL query parameter (return_to) remains unchanged
  • Adds tests verifying the field is included when provided and omitted when None

This is necessary since the return_to parameter is lost during the new invite code onboarding experience since we don't have a connector URL to parase.

Closes APP-9434

Test plan

  • cargo test -p idkit-core passes (100 tests, including 2 new ones)
  • Verify in World App that the decrypted payload contains return_to_url when "Return to" is enabled in the example app

🤖 Generated with Claude Code

Include the optional return_to URL in the encrypted payload sent to the
bridge (serialized as "return_to_url"), so the World App can read it from
the request body in addition to the connector URL query parameter.

Closes APP-9434

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
idkit-js-example Ready Ready Preview, Comment May 8, 2026 1:56am

Request Review

@SeanROlszewski SeanROlszewski merged commit 4c2c6df into main May 8, 2026
18 checks passed
@SeanROlszewski SeanROlszewski deleted the feat/return-to-url-payload branch May 8, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants