feed connected account profile into resolution and write on user._details
look into automatically pulling some Facebook contacts and build graph
Context
We need to add Facebook as a connection and auth option. Feature includes setting up auth0 and investigating additional Facebook data. This will allow us another auth identity.
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.
[ ] feed profile into resolution and write to user db
Detailed Description
Context
We need to add Facebook as a connection and auth option. Feature includes setting up auth0 and investigating additional Facebook data. This will allow us another auth identity.
Possible Implementation
[ ] ui
[ ] 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.