oauth2.dev

gender

OpenID_Foundation_Artifact_Binding_Working_Group

Registry Context

The gender claim is a standard OpenID Connect claim representing the End-User's gender. OpenID Connect defines female and male as values, while allowing other values when those defined values do not apply.

Technical Summary

In OpenID Connect Core 1.0 Section 5.1, gender is a string Standard Claim described as the End-User's gender. The specification defines female and male values and explicitly permits other values under a stated condition.

When Used

Used as a standard profile claim in OpenID Connect UserInfo responses or ID Tokens when gender information is requested or returned.

Normative Requirements

Unspecified actor

MAY
1
  1. openid-connect-core-1_0 - Section 5.1

    use values other than female and male for the gender claim.

    Condition: when neither of the values defined by the specification, female or male, are applicable

    Other values MAY be used when neither of the defined values are applicable.

Validation Guidance

info

If present, treat gender as a string claim.

info

Recognize female and male as values defined by OpenID Connect Core for this claim.

info

Do not reject other string values solely because they are not female or male when neither defined value is applicable.

Reference

Details

Entry Id
gender
Claim Name
gender
Claim Description
Gender
Change Controller
OpenID_Foundation_Artifact_Binding_Working_Group
Reference
OpenID Connect Core 1.0 - Section 5.1