LinkedIn Login Screen Timeout on Mobile Browser

212 views Asked by At

Our Native app relies on LinkedIn OAuth2 for authentication. How it works is we redirect user from our Native app to Mobile Browser (Mobile Safari or Android native browser, NOT webview) for LinkedIn authentication. Everything looks fine, but once in a while, maybe 1/10 times, the LinkedIn authentication page will be timeout and a blank page will be shown. Do you know what is causing that? Below is the sample url that the app loads on Mobile Browser.

https://www.linkedin.com/uas/oauth2/authorization?approval_prompt=force&scope=r_basicprofile+r_emailaddress&redirect_uri=https://XXXXXXXXXXX.com/linkedinCallback.html&response_type=code&client_id=XXXXXXXXX&state=XXXXXXX

1

There are 1 answers

0
Chase Holland On

As suggested by Kamyar Mohager, I switched to the new, native Linkedin SDK. So far, it isn't plagued by the same timeout / blank page issues as the web auth flow.