Skip to content

Commit 112a02e

Browse files
auth: Add reAuthReason field in aws_loginWithBrowser (aws#767)
When the user logs in with the browser AND it is due to reauth, we want to know why they need to reauth. This will explain why. Signed-off-by: Nikolas Komonen <[email protected]>
1 parent 2539deb commit 112a02e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,11 @@
12851285
"type": "string",
12861286
"description": "Error message detail. May contain arbitrary message details (unlike the `reason` field), but should be truncated (recommendation: 200 chars)."
12871287
},
1288+
{
1289+
"name": "reAuthReason",
1290+
"type": "string",
1291+
"description": "Why was the connection/session put in to a state where it needs to be reauthenticated?"
1292+
},
12881293
{
12891294
"name": "referencePolicyType",
12901295
"type": "string",
@@ -2283,6 +2288,10 @@
22832288
"type": "isReAuth",
22842289
"required": false
22852290
},
2291+
{
2292+
"type": "reAuthReason",
2293+
"required": false
2294+
},
22862295
{
22872296
"type": "result"
22882297
},

0 commit comments

Comments
 (0)