Skip to content

Add registration bootstrap flow and lobby registration configuration - #50

Merged
einari merged 3 commits into
mainfrom
copilot/registration-support
Jun 1, 2026
Merged

Add registration bootstrap flow and lobby registration configuration#50
einari merged 3 commits into
mainfrom
copilot/registration-support

Conversation

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a registration flow parallel to the existing invite flow and lets Lobby expose a dedicated registration destination. The change includes the AuthProxy runtime path, configuration surface, Aspire helpers, and reorganized lobby docs for wiring the flow end to end.

authproxy.WithLobbyRegistration(lobbyResource, "/register");
// Sets Cratis:AuthProxy:Invite:Lobby:Registration:BaseUrl

Added

  • Added a /register bootstrap flow that starts authentication and carries registration state across the login round-trip (Registration support #49)
  • Added Lobby.Registration.BaseUrl configuration for redirecting authenticated users into the lobby registration experience (Registration support #49)
  • Added Aspire helpers for configuring the lobby registration URL from either a raw URL or an Aspire resource reference (Registration support #49)
  • Added focused specs covering registration bootstrap, post-auth redirect, and middleware bypass behavior (Registration support #49)

Changed

  • Updated ingress middleware to treat registration like invite bootstrap so /register is not intercepted by tenant-selection or no-tenant lobby redirects (Registration support #49)
  • Extended the shared Service configuration model with a Registration endpoint alongside existing frontend/backend endpoints (Registration support #49)
  • Reorganized onboarding documentation into a dedicated lobby section with separate pages for invitation for creating organization, invitation to organization, and registration (Registration support #49)

Fixed

  • Fixed the missing path for starting a registration flow without an invitation (Registration support #49)
  • Fixed Lobby configuration so it can direct users to a dedicated registration URL instead of only the generic frontend (Registration support #49)

Removed

Security

  • Preserved the existing short-lived, HTTP-only cookie pattern for auth bootstrap state in the new registration flow (Registration support #49)

Deprecated

Copilot AI linked an issue Jun 1, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add registration support for Lobby configuration Add registration bootstrap flow and lobby registration configuration Jun 1, 2026
Copilot finished work on behalf of einari June 1, 2026 11:39
Copilot AI requested a review from einari June 1, 2026 11:39
@einari

einari commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

@copilot Lets organize the documentation differently - create a folder called lobby and separate out the different invitation flows and registration into separate pages, keeping at least 3 pages. Invitation for creating org, invitation to org and registration. Registration also means registering an organization - otherwise you should be invited, just a note. :)

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Lets organize the documentation differently - create a folder called lobby and separate out the different invitation flows and registration into separate pages, keeping at least 3 pages. Invi...

Addressed in 80430b7. The docs are now organized under Documentation/configuration/lobby/ with separate pages for invitation for creating organization, invitation to organization, and registration, and the registration page now calls out that it is for creating an organization rather than joining an existing one.

Copilot finished work on behalf of einari June 1, 2026 17:18
@einari
einari marked this pull request as ready for review June 1, 2026 17:25
@einari
einari merged commit cf77edc into main Jun 1, 2026
5 checks passed
@einari
einari deleted the copilot/registration-support branch June 1, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Registration support

2 participants