Improve this doc View source

$processSocialAuthToken
service in module stormpath.socialLogin

Description

Executes the flow for processing social authentication tokens returned from the social login authentication redirect flow. If the token is present, it is used to authenticate the user using the stormpath_token grant type.

Appropriate authentication success or failure events are broadcast when the authentication concludes.

If the token is not present in the URL query parameters, the function returns a resolved promise immediatelly.