Guardian consent between the minimum age and the threshold

When a user is below the threshold of every permission in a POST /session/upgrade request, and a parent or guardian can consent to at least one of them (managedBy: GUARDIAN), the response includes a CHALLENGE_SESSION_UPGRADE challenge. Before this change, that request returned 200 with no challenge, so the permission could not be turned on.

What's new

CDK: Age assurance for high-risk features

  • A permission with a verifiedAgeThreshold is managedBy: GUARDIAN when the user is at or above its minimum age and below the threshold. A parent or guardian can consent in that band. The permission is PROHIBITED below the minimum age. At or above the threshold, the user needs a verified age, unless a guardian already enabled the permission.
  • A request whose session age is below every requested threshold returns the guardian challenge. Permissions below the minimum age are left out. A platform age is read on this path and on the age-assurance path. It does not choose between those paths. It leaves a permission out of the challenge when the platform age is below that permission's minimum age (guardian path) or its threshold (age-assurance path). A request below the digital consent age, a request with age assurance turned off, and a Safe Start upgrade do not read a platform age.
  • materialChange and legal document options are accepted on the guardian path, as in the standard upgrade flow. On the age-assurance path they return 400.

A request where the user meets at least one requested threshold still goes to age assurance. The permissions in it that the user is below the threshold for are left out, and no guardian challenge is issued for them. Request those in a separate call.

Documentation

On this page