Bot Prevention
Menu

Operate

Updates and maintenance

Update to new releases, roll back, rotate keys and uninstall. World never changes your stack: you start every change.

Versions

Each release has a version. Your stack's Version output shows the installed version, and its Release output the exact content digest. Your stack keeps its release until you update it. World contacts you at your contact email about updates that need your action.

Update to the latest release

  1. Save the current template

    Keep a copy, so that you can roll back:

    Terminal

    aws cloudformation get-template --region us-east-1 --stack-name wid-<installation ID> \
      --query TemplateBody --output json > wid-template-$(date +%Y%m%d).json
  2. Get the new template

    The current release's template is always at the same address, which your setup page also shows. World emails you at your contact email when an update needs your action. You do not enter your settings again.

  3. Replace the template

    In CloudFormation, select your stack and choose Update, Replace existing template and Amazon S3 URL, and paste the template address. Keep all parameter values, including the installation ID, app ID and RP ID. A stack from before version 0.5.0 has no such parameters yet: enter the installation ID from its InstallationId output, and the app ID and RP ID from the stack's description. That first update registers the app with World, so it needs an active subscription.

  4. Review and submit

    Review the change set and acknowledge IAM resource creation. A routine update keeps your secrets, cookie keys and replay-state table. Stop if the change set replaces them.

  5. Check

    Wait for UPDATE_COMPLETE, about ten minutes in protect mode, and confirm the new Version output. Then complete a verification.

With the setup script, check out the new release and run plan, apply and check. For a resources-only installation, export the attachment again and deploy it to your website stack.

Roll back

CloudFormation rolls back a failed update by itself. To return to the previous release after a successful update, update the stack with the template that you saved, with Replace existing template and the same parameter values. With the setup script, check out the previous release and run plan and apply. A rollback keeps your keys, sessions and replay state.

Rotate the RP signing key

  1. Create a new key

    Create a new KMS key and get its signer address, as in step 4 of the installation.

  2. Update the stack

    Update with Use existing template and set RpSigningKeyArn to the new key ARN. Wait for UPDATE_COMPLETE.

  3. Rotate in Developer Portal

    Rotate the RP's signer to the new signer address (Use Existing Key). A team admin or owner can do this. You do not need the old key.

Change your contact details

Open Set up your account from your Marketplace subscription. On the registration page, enter all four details again, with your changes, and choose Register. We also email you a new setup link, at most once every 10 minutes.

Uninstall

Delete the stack in CloudFormation, or run pnpm customer:setup uninstall --config .wid/customer.json. For a resources-only installation, first remove the World ID origins, behaviors, function associations and AWS WAF rules from your website stack.

RemovedKept
The World ID routes, session check functions, key store, Bot Control rule and World ID rule group, and the Web ACL if the stack created it.Your distribution, your Web ACL and its other rules, your KMS key, and the cookie keys, replay state, assets bucket and logs. Delete these yourself when you no longer need them.

Uninstalling does not cancel your Marketplace subscription. Cancel it in AWS Marketplace.