I implemented OAuth1 login with Xero, by registering a custom OAuth1 connection, implementing fetchUserProfile
in a way that seemed sensible. I think everything is hooked up correctly, because I am able to log in using Xero, but then I never see a User appearing on the dashboard, nor getting anything returned by Management API calls to get all users.
There seems to be a piece missing. Somebody out there who has a clue what I might be dealing with here?
![alt text][1]
![alt text][2]
Details from the Signup log message:
{
"date": "2017-12-29T20:43:25.332Z",
"type": "ss",
"connection": "custom-xero",
"connection_id": "con_Wn1aWdRfWYvMIDXZ",
"client_id": "DIGRyhLdgwm5I351toM5eZksUfW1KA9K",
"client_name": "Vue-day6",
"ip": "80.100.142.129",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36",
"details": {
"prompts":
{
"name": "oauth1-authenticate",
"initiatedAt": 1514580198654,
"completedAt": 1514580203156,
"timers": {},
"connection": "custom-xero",
"elapsedTime": 4502
},
{
"name": "consent",
"initiatedAt": 1514580203167,
"completedAt": 1514580205314,
"grantInfo": {
"id": "5a46a8ed105d880aef300af3",
"audience": "https://p42.auth0.com/userinfo",
"scope": "openid profile",
"expiration": null
},
"elapsedTime": 2147
}
],
"initiatedAt": 1514580198033,
"completedAt": 1514580205331,
"elapsedTime": 7298
},
"user_id": "oauth1|custom-xero|QAGIJZAPZMUWKA1SFTSBBDTMCJ6LUF",
"user_name": "",
"strategy": "oauth1",
"strategy_type": "social",
"auth0_client": {
"name": "auth0.js",
"version": "8.11.2"
},
"log_id": "49574419589858254662358178261146763179152869192904998946"
}