Hi,
I am trying to use an three-legged authentication in my JavaScript application. I have generated an access_token and now am trying to "Log In" using this token...
In the examples given, something like this has been done:
rcsdk.platform()
.login({ username: '18001234567', // phone number in full format extension: '', // leave blank if direct number is used password: 'yourpassword' }) .then(function(response) { // your code here }) .catch(function(e) { alert(e.message || 'Server cannot authorize user'); });
where we can collect username, extension, and password from user to log in. If I have an access token, how should I proceed to log in?