Auth

Submit age verification consent (18+).

The user must send {"age_verified": true} to confirm they are 18 or older. The confirmation and the timestamp are stored as evidence of consent.

Requires JWT Bearer authentication with Cognito token.

post/api/v1/auth/verify-age

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Authorization codehttps://auth.mor.org/oauth2/authorize
      Token URLhttps://auth.mor.org/oauth2/token
      Scopesaws.cognito.signin.user.admin, openid, email, profile
    • or HTTP bearer

Request body

age_verifiedboolean required

User confirms they are 18 years or older

Example request

{
  "age_verified": true
}

Response

Successful Response

object required

Changes