When I use /api/v1/me, the response in the services field only contains the password information:
{
"_id": "vJs54haGLm2r6HJwp",
"services": {
"password": {
"exists": false
}
},
...
}
How can I retrieve additional information such as services.suitecrm.serverURL and services.suitecrm.refreshToken? I’m using version 8.1.0-develop.
This is the data in the user collections:
{
"_id": "vJs54haGLm2r6HJwp",
"createdAt": {
"$date": {
"$numberLong": "1767590145817"
}
},
"services": {
"suitecrm": {
"_OAuthCustom": true,
"serverURL": "http://xxx.xxx.xxx.x/suitecrm7",
"accessToken": "blebleble",
"idToken": null,
"expiresAt": 1767862980368,
"refreshToken": "blablabla",
"id": "2c60778c-c57b-a8cd-465b-686c7acda622",
"username": "kyler",
"email": "kyler@gmail.com",
"name": "Kyler 9"
},
"resume": {
"loginTokens": [
{
"when": {
"$date": {
"$numberLong": "1767608719614"
}
},
"hashedToken": "CJYm+PjVlweh5iQYxp0iolGtkcc0gdRfMRyNaKjKpVs="
},
{
"when": {
"$date": {
"$numberLong": "1767859386006"
}
},
"hashedToken": "oYMxEa7YX50ccRYpFB59bEAWkfsT6CuXwpjJOybx21I="
}
]
},
"email": {
"verificationTokens": [
{
"token": "6wNFVhB_VNEGTYZUPlZ5D8fwL36iFtubsiizuXGw25X",
"address": "kyler@suitecrm.local",
"when": {
"$date": {
"$numberLong": "1767608696345"
}
}
}
]
}
},
"type": "user",
"roles": [
"user"
],
"status": "online",
"active": true,
"inactiveReason": null,
"name": "Kyler 9",
"emails": [
{
"address": "kyler@gmail.com",
"verified": true
}
],
"username": "kyler",
"email": "kyler@gmail.com",
"_updatedAt": {
"$date": {
"$numberLong": "1768012542575"
}
},
"__rooms": [
"GENERAL",
"6951c5636fbc81ac3e96b306"
],
"lastLogin": {
"$date": {
"$numberLong": "1768012542575"
}
},
"statusConnection": "online",
"utcOffset": 7,
"statusText": "",
"statusDefault": "online",
"settings": {
"profile": {},
"preferences": {
"language": "vi-VN"
}
},
"language": "vi-VN"
}