Authenticating a user from saved credentials
Jonovono opened this issue · 0 comments
Jonovono commented
Is this possible to do?
I know in the nodejs one it seems possible?
OAuth.auth('provider', req.session, {
credentials: credentials
})
.then(function (request_object) {
// Here request_object has been rebuilt from the credentials object
// If the credentials are expired and contain a refresh token,
// the auth method automatically refresh them.
});
Wondering if you can do this in browser JS.
Thanks