9
2
Fork
You've already forked platform
2

Add explicit ToS + Privacy Notice acceptance at sign-up #143

Closed
opened 2026年04月03日 19:31:01 +02:00 by xenushka · 0 comments

Summary

Add a Terms of Service and Privacy Notice acceptance checkbox to the registration screen, presented before the security key ceremony begins. Must ship before GA.


Background

Caution's current alpha registration has no explicit ToS acceptance step. For GA, users must actively consent to the Terms of Service and Privacy Notice before completing sign-up. Acceptance must happen before the passkey ceremony, the ceremony itself is the account creation act, so consent needs to be on record before it begins.

This must be an affirmative, unambiguous action, not a pre-ticked box, not a "by continuing you agree" footer.

ga-registration


User Flow

Registration screen layout (single screen, top to bottom)

  1. Heading: Create your account
  2. Subheading: No email, username, or password required.
  3. ToS checkbox row (this ticket)
  4. Divider
  5. Continue with security key button — disabled until checkbox is checked
  6. Already have an account? Log in.

ToS checkbox row

[ ] I agree to the Caution Terms of Service and Privacy Notice.
  • "Terms of Service" links to: https://caution.co/terms.html
  • "Privacy Notice" links to: https://caution.co/privacy.html
  • Both links open in a new tab
  • Checkbox is unticked by default — user must actively check it
  • Continue with security key button is disabled (visually and functionally) until the box is checked
  • The full ToS does not need to be shown inline — a clearly labelled link is sufficient

Button copy

Continue with security key

Error state

If a user somehow submits without checking the box, show an inline error directly below the checkbox row:

Please accept the Terms of Service and Privacy Notice to continue.

Post-registration

After the security key ceremony completes, so the flow is:

  • Registration screen: ToS checkbox → Continue with security key → ceremony runs
  • Post-ceremony screen: email step (the optional one from the other ticket), shown immediately after the ceremony succeeds before landing on the dashboard

ga-email


[ Email address input — optional ]
Add email and continue →
Skip — I understand I won't receive emails

This keeps the registration screen clean and uncluttered, one decision at a time. The email screen is a natural "almost there, one more thing" moment, which also matches the Mullvad pattern of keeping account creation minimal and adding optional details after.


Technical Requirements

  • tos_accepted boolean + tos_accepted_at timestamp — stored on user/org record at account creation
  • tos_version string — record which version of the ToS was accepted (e.g. "2026年04月03日"), so future ToS updates can trigger re-acceptance for existing users
  • Server-side validation: reject the passkey ceremony initiation if tos_accepted is not true — do not rely on frontend-only enforcement
  • Do not bundle ToS acceptance with any other consent (email, marketing) — standalone checkbox only
  • If ToS is updated post-launch, prompt existing users to re-accept on next login before proceeding

Log schema

{
 "account_uuid": "...",
 "event": "tos_accepted",
 "tos_version": "2026年04月03日",
 "timestamp": "2026年04月03日T10:00:00Z",
 "ip_country": "KY"
}

Priority: Critical

Must ship before GA. Without explicit ToS acceptance before the passkey ceremony, the contract with users is not enforceable.

## Summary Add a Terms of Service and Privacy Notice acceptance checkbox to the registration screen, presented before the security key ceremony begins. Must ship before GA. --- ## Background Caution's current alpha registration has no explicit ToS acceptance step. For GA, users must actively consent to the Terms of Service and Privacy Notice before completing sign-up. Acceptance must happen before the passkey ceremony, the ceremony itself is the account creation act, so consent needs to be on record before it begins. This must be an affirmative, unambiguous action, not a pre-ticked box, not a "by continuing you agree" footer. ![ga-registration](/attachments/276ce23b-5fa2-4346-b0ff-af63aa975bee) --- ## User Flow ### Registration screen layout (single screen, top to bottom) 1. Heading: `Create your account` 2. Subheading: `No email, username, or password required.` 3. ToS checkbox row (this ticket) 4. Divider 5. `Continue with security key` button — disabled until checkbox is checked 6. `Already have an account? Log in.` ### ToS checkbox row ``` [ ] I agree to the Caution Terms of Service and Privacy Notice. ``` - "Terms of Service" links to: https://caution.co/terms.html - "Privacy Notice" links to: https://caution.co/privacy.html - Both links open in a new tab - Checkbox is unticked by default — user must actively check it - `Continue with security key` button is disabled (visually and functionally) until the box is checked - The full ToS does not need to be shown inline — a clearly labelled link is sufficient ### Button copy `Continue with security key` ### Error state If a user somehow submits without checking the box, show an inline error directly below the checkbox row: ``` Please accept the Terms of Service and Privacy Notice to continue. ``` ### Post-registration After the security key ceremony completes, so the flow is: - Registration screen: ToS checkbox → Continue with security key → ceremony runs - Post-ceremony screen: email step (the optional one from the other ticket), shown immediately after the ceremony succeeds before landing on the dashboard ![ga-email](/attachments/70aafe65-37eb-4155-94ad-fd0f72030793) ``` Your account is ready. [ Email address input — optional ] Add email and continue → Skip — I understand I won't receive emails ``` This keeps the registration screen clean and uncluttered, one decision at a time. The email screen is a natural "almost there, one more thing" moment, which also matches the Mullvad pattern of keeping account creation minimal and adding optional details after. --- ## Technical Requirements - `tos_accepted` boolean + `tos_accepted_at` timestamp — stored on user/org record at account creation - `tos_version` string — record which version of the ToS was accepted (e.g. `"2026年04月03日"`), so future ToS updates can trigger re-acceptance for existing users - Server-side validation: reject the passkey ceremony initiation if `tos_accepted` is not `true` — do not rely on frontend-only enforcement - Do not bundle ToS acceptance with any other consent (email, marketing) — standalone checkbox only - If ToS is updated post-launch, prompt existing users to re-accept on next login before proceeding ### Log schema ```json { "account_uuid": "...", "event": "tos_accepted", "tos_version": "2026年04月03日", "timestamp": "2026年04月03日T10:00:00Z", "ip_country": "KY" } ``` --- ## Priority: Critical Must ship before GA. Without explicit ToS acceptance before the passkey ceremony, the contract with users is not enforceable.
Sign in to join this conversation.
No Branch/Tag specified
main
feat/webauthn-discoverable-login
feat/paddle-byoc-subscriptions
anton/feat/multi-user
feat/issue-377-minimal-sentry
fix/issue-191-attestation-endpoint-copy
feat/legal-publish-doc
fix/issue-119-logout-confirmation
fix/paddle-customdata-credit-mint
fix/issue-116-duplicate-ssh-key
fix/issue-265-http-port-private
fix/issue-330-remove-build-binary
fix/issue-307-remove-apps
feat/issue-164-account-id
feat/add-tofu-lockfile-cache
docs/issue-339-install-instructions
fix/issue-336-split-qr-login-tokens
fix/verify-app-source-preflight
fix/many-git-push-deploy
fix/issue-334-email-verification-throttle
fix/issue-273-billing-url
fix/issue-333-final-usage-collection
fix/issue-270-low-credit-email
fix/issue-301-remove-auto-topup
fix/issue-320-byoc-auth-first
fix/issue-348-git-progress-checklist
fix/issue-321-byoc-caution-hcl
fix/issue-332-resource-id-suspension
fix/eif-app-mode-normalization
feat/cli-stagex-container
fix/eif-s3-layer-cache
fix/authz-role-checks
fix/cli-hangs-unsupported-ssh-url
feat/print-platform-commit-dashboard
fix/config-domain-validation
anton/support-ssh-destroy-get
fix/cli-config-dir
feat/publish-build-inputs
feat/locksmith-polishing
fix/procfile-run-command-no-split
anton/byoc-require-login
fix/hcl-init-template
feat/egress-default-deny
ryansquared/hcl
quotas
anton/feat/region-routing-resource-unavailable-alert
fix/attestation-502-dashboard
ryansquared/systemdize
fix/verify-git-credential-hang
anton/fix-low-credits-alert
xenushka/rename-byoc
ryansquared/add-download-eif
add-debug-flag
test/pr1-integration-harness
anton/fix/only-pass-required-env-vars
ryansquared/add-database-bucket
No results found.
Labels
Clear labels
Compat/Breaking
Breaking change that won't be backward compatible
Component/Enclave-Builder
This issue affects Enclave Builder (git-push and CLI)
Component/Infrastructure
This issue affects generic Caution hosted infra components
Deploy/BYOC
Relates to Caution Bring-your-own-compute
Deploy/Full-managed
Relates to Caution fully managed cloud
Deploy/Self-hosted
Relates to Caution deployed on self-hosted infra
Interface/API
This issue affects the API
Interface/CLI
This issue affects the command line interface
Interface/Git
This issue affects the Git `push` interface
Interface/Web
This issue affects the web dashboard
Kind/Bug
Something is not working
Kind/Documentation
Documentation changes
Kind/Enhancement
Improve existing functionality
Kind/Feature
New functionality
Kind/Security
This is security issue
Kind/Testing
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
caution/platform#143
Reference in a new issue
caution/platform
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?