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.
[ ] send ingestion pull to sync
[ ] sync will pull contacts via manager api token exchange
Detailed Description
For the email accounts that we allow a user to connect, change the data pull method from cloudsponge to auth0 linked accounts.
Context
This will allow us to collect better input data from the various email sources. This will need to handle:
Possible Implementation
[ ] 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.