Merged in bug/eula-email (pull request #212)

fix eula issue when email not present in jwt

* bug fix
This commit is contained in:
Jay Brown
2026-02-26 21:46:00 +00:00
parent c668485e6f
commit 62b5de5722
7 changed files with 648 additions and 312 deletions
+5 -10
View File
@@ -4316,9 +4316,8 @@ components:
example: "2025-12-15T10:30:00Z"
createdBy:
type: string
format: email
maxLength: 320
description: Email of admin who created this version
description: Identifier of admin who created this version (email, username, or subject ID)
example: admin@example.com
isCurrent:
type: boolean
@@ -4333,10 +4332,9 @@ components:
example: "2026-01-01T00:00:00Z"
activatedBy:
type: string
format: email
maxLength: 320
nullable: true
description: Email of admin who activated this version
description: Identifier of admin who activated this version (email, username, or subject ID)
example: admin@example.com
EulaVersionSummary:
@@ -4607,9 +4605,8 @@ components:
example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
userEmail:
type: string
format: email
maxLength: 320
description: User's email at time of agreement
description: User identifier at time of agreement (email, username, or subject ID)
example: user@example.com
eulaVersionId:
type: string
@@ -4756,16 +4753,14 @@ components:
example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
email:
type: string
format: email
maxLength: 320
nullable: true
description: User's email at time of agreement (null if not agreed)
description: User identifier at time of agreement (email, username, or subject ID; null if not agreed)
example: user@example.com
currentEmail:
type: string
format: email
maxLength: 320
description: User's current email from Cognito
description: User's current email from Cognito (may be empty or a non-email identifier)
example: user-updated@example.com
agreed:
type: boolean