Issue when redirecting back after Facebook login in iOS mobile

Hi All,

I am facing a weird issue in iOS while redirecting back after successful login using Facebook.

I am navigating the user to the Facebook login page to authenticate  using InAppBrowser plugin. Also tried using RedirectToURL. I am passing the following URL to authenticate.

"https://www.facebook.com/v5.0/dialog/oauth?client_id="+AppId+"&redirect_uri="+RedirectUri+"&state="+State+"&response_type=code&auth_type=rerequest&scope=email,user_birthday,user_hometown,user_gender"


And, the rediredt_uri is something like following

"https://xxxxxx/<module-name>/<screen-name>"

I have added the same in Facebook console as well.

In android, it is working fine. It is getting redirected to the screen specified in the redirected URI with the code.

But, in iOS, seems like the app crashes and splash screen is loaded and its stuck in the splash screen. 

Anybody faced the same issue and resolved it.

Any help is much appreciated.

Thanks,

Sundeep




Hi Sundeep,

May be you can try using target as Systems.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.