-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
We are missing details from the roles response, needed during login. Fields missing that are required include:
- firstName
- lastName
- active
- regSource
- country
The v3 roles response (POST api.topcoder-dev.com/v3/users/roles) looks like this:
{
"id": "88774396",
"modifiedBy": null,
"modifiedAt": "2021-01-02T08:32:25.371Z",
"createdBy": null,
"createdAt": "2020-10-25T03:12:30.891Z",
"handle": "jmgasper",
"email": "[email protected]",
"firstName": "Justin",
"lastName": "Gasper",
"credential": {
"activationCode": "2FESFGH05RI",
"resetToken": null,
"resendToken": null,
"activationBlocked": null,
"canResend": null,
"hasPassword": true
},
"profiles": null,
"status": "A",
"country": null,
"regSource": "88774396|ff9f38647a8360b8ee34aa9ce2a81b04bdf1f87fecb25d7459faca8193be041",
"utmSource": "",
"utmMedium": "",
"utmCampaign": "",
"roles": [
{
"id": "5",
"modifiedBy": null,
"modifiedAt": null,
"createdBy": null,
"createdAt": null,
"roleName": "Topcoder User",
"subjects": null
},
{
"id": "137",
"modifiedBy": "305384",
"modifiedAt": "2023-02-22T19:12:25.000Z",
"createdBy": "305384",
"createdAt": "2023-02-22T19:12:25.000Z",
"roleName": "Topcoder Talent",
"subjects": null
}
],
"mfaEnabled": null,
"diceEnabled": null,
"primaryRole": null,
"ssoLogin": false,
"active": true,
"profile": null,
"emailActive": true
}
The v6 response looks like this:
{
"userId": "88774396",
"handle": "jmgasper",
"email": "[email protected]",
"roles": [
"Topcoder User",
"Topcoder Talent"
],
"emailVerified": true,
"tcsso": "88774396|2842c8c5008232d8abe28a616c363c693ac1c210851fa6954070088932f26445",
"status": "A"
}
Metadata
Metadata
Assignees
Labels
No labels