WIP: Organization onboarding into origin with signed URL #525

Draft
tobru wants to merge 1 commit from switch-onboarding into main
Owner

This is used for Switch Cloud Portal to Servala Portal onboarding.

Switch generates a signed URL pointing to the Servala Portal. When a customer clicks it, the portal:

  1. Verifies the URL came from Switch (HMAC signature with a shared secret).
  2. Pre-configures the organization with the Switch origin (which controls billing, allowed cloud providers, and the assigned limit profile, so new Switch customers skip the default trial limits).
  3. Pre-fills the organization name; the field is locked.
  4. If an organization with that name already exists under the Switch origin, the customer is offered a way to request access from its existing owners instead of creating a duplicate.
This is used for Switch Cloud Portal to Servala Portal onboarding. Switch generates a signed URL pointing to the Servala Portal. When a customer clicks it, the portal: 1. Verifies the URL came from Switch (HMAC signature with a shared secret). 2. Pre-configures the organization with the Switch origin (which controls billing, allowed cloud providers, and the assigned limit profile, so new Switch customers skip the default trial limits). 3. Pre-fills the organization name; the field is locked. 4. If an organization with that name already exists under the Switch origin, the customer is offered a way to request access from its existing owners instead of creating a duplicate.
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin switch-onboarding:switch-onboarding
git switch switch-onboarding

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff switch-onboarding
git switch switch-onboarding
git rebase main
git switch main
git merge --ff-only switch-onboarding
git switch switch-onboarding
git rebase main
git switch main
git merge --no-ff switch-onboarding
git switch main
git merge --squash switch-onboarding
git switch main
git merge --ff-only switch-onboarding
git switch main
git merge switch-onboarding
git push origin main
Sign in to join this conversation.
No description provided.