Skip to content

fix(auth): pass Ory signup metadata to dashboard bootstrap - #389

Merged
ben-fornefeld merged 2 commits into
mainfrom
fix/creator-context-signup-metadata
Jun 11, 2026
Merged

ben-fornefeld merged 2 commits into
mainfrom
fix/creator-context-signup-metadata

Conversation

@ben-fornefeld

@ben-fornefeld ben-fornefeld commented Jun 11, 2026 •

Copy link
Copy Markdown
Member

Summary

  • read the signed Ory signup metadata cookie during dashboard bootstrap
  • forward signup_ip and signup_user_agent to dashboard-api before billing provisioning runs
  • keep the existing Ory metadata_admin persistence path for audit/history

Pairs with infra PR: e2b-dev/runtime#2978

@vercel

vercel Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment Jun 11, 2026 5:31am

Request Review

@cursor

cursor Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

PR Summary

Medium Risk
Touches the Ory sign-in bootstrap request to dashboard-api (paired infra change); behavior is additive and optional fields only.

Overview
Optional signup_ip and signup_user_agent were added to AdminAuthProviderUserBootstrapRequest in the dashboard API spec and generated types.

Ory dashboard bootstrap now reads the signed signup-metadata cookie and includes those fields on POST /admin/users/bootstrap when present. Cookie decoding was extracted into readOrySignupMetadataCookie; the consume path reuses it and still deletes the cookie. Integration tests cover forwarding metadata to dashboard-api.

Reviewed by Cursor Bugbot for commit 5794adb. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel
vercel Bot temporarily deployed to Preview – web June 11, 2026 05:31 Inactive
@ben-fornefeld
ben-fornefeld merged commit a100bce into main Jun 11, 2026
14 checks passed
@ben-fornefeld
ben-fornefeld deleted the fix/creator-context-signup-metadata branch June 11, 2026 08:06

This branch was previously deployed

1 inactive deployment
Preview – web — 5794adbf Deployed Jun 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants