feed connected account profile into resolution and write on user._details
automatically pull twitter contacts and build graph
Context
We need to add Twitter as a connection and auth option. Feature includes setting up auth0 and setting up automatic pull of Twitter followers. This will allow us another auth identity in addition to letting us build out the graph for a subset of prospects.
var lock = new Auth0Lock(
// All these properties are set in auth0-variables.js
AUTH0_CLIENT_ID,
AUTH0_DOMAIN
);
function linkPasswordAccount(connection){
localStorage.setItem('linking','linking');
var opts = {
rememberLastLogin: false,
dict: {
signin: {
title: 'Link another account'
}
}
};
if (connection){
opts.connections = [connection];
}
//open lock in signin mode, with the customized options for linking
lock.showSignin(opts);
}
This will be used by service linking buttons.
[x] feed profile into resolution and write to user db
Detailed Description
Context
We need to add Twitter as a connection and auth option. Feature includes setting up auth0 and setting up automatic pull of Twitter followers. This will allow us another auth identity in addition to letting us build out the graph for a subset of prospects.
Possible Implementation
[x] ui
[x] Implement auth0 account linkage. See this tutorial in the SPA section: https://github.com/auth0-samples/auth0-link-accounts-sample. We need the following code available in the frontend stack:
This will be used by service linking buttons.