These docs are for AuthRocket 1. Looking for AuthRocket 2 docs?

Using Social Login with Mobile

Q: How does AuthRocket’s social login support work with native mobile apps?


A: Most social login providers provide native iOS and Android SDKs. In most cases, you can extract the native SDK’s token and pass it back to us using Authorize Token. At this point, the login proceeds the same as any other login, and generates an AuthRocket login token.

Unfortunately, this isn’t supported by all social providers (for example, LinkedIn). In these cases, your best bet is to use a web view and let LoginRocket (our hosted logins feature) handle the redirects and the LinkedIn login itself. Then, once your app extracts the AuthRocket login token, you can verify the login (as needed via your server).

Tagged with: social auth facebook google

Questions? Find a Typo? Get in touch.