nraboy / ng-cordova-oauth

AngularJS oauth library for use with Apache Cordova projects
https://www.thepolyglotdeveloper.com
MIT License
456 stars 199 forks source link

I got error "Not logged in: You are not logged in. Please login and try again" #293

Closed ser-j closed 7 years ago

ser-j commented 7 years ago

Hi Can someone help me ? :)

I have a similar problem, like AtulaGuleria had. When I pressed login btn, I got error "Not logged in: You are not logged in. Please login and try again"

mibile_screen

I am trying to test it with Phonegap Developer App on iOS device (also tried with android (the same result)).

I have investigated this issue, and looks like it related to FB app configuration, specifically "Valid OAuth redirects url field" in Client OAuth settings? But I am not sure what should be there if I am using mobile APP(not web version).

oauth_settings

Also I have added iOS platform to FB APP, I got a bundle ID in config.xml file. Is it correct? Or how I have to configure iOS platform? What I missed?

ios_app_settings

And here is a code example in Angular which I was using: code

PS: I have tried the same with vkontakte, and it works for me. THANKS!

Please ask if I was missing something? I will provide any extra information.

nraboy commented 7 years ago

Please use Stack Overflow as a way for getting help. The issue tracker should be used for bugs and feature requests only.

Best,