Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to make it work in the browser #46

Closed
casertap opened this issue Mar 11, 2015 · 3 comments
Closed

Is there a way to make it work in the browser #46

casertap opened this issue Mar 11, 2015 · 3 comments

Comments

@casertap
Copy link

I would like to know if it is possible to perform the authentication with facebook using the browser because I get the error "Cannot authenticate via a web browser".

I am wondering also what is the main difference between the ng-cordova-oauth project and the ng-cordova with the $cordovaOauth plugin?

Thanks

@casertap casertap changed the title Is there a way to make it work in browser Is there a way to make it work in the browser Mar 11, 2015
@nraboy
Copy link
Owner

nraboy commented Mar 11, 2015

I am the maintainer of both ng-cordova-oauth and ng-cordova. Since this is a hobby of mine, ng-cordova gets updated slower because my time is short.

I purposefully added that browser error because it is never going to work in a browser due to the localhost callbacks and lack of control that the platforms offer.

Like I tell most people, you're developing mobile apps not websites. Don't test your apps in the browser.

Regards,

@nraboy nraboy closed this as completed Mar 11, 2015
@codingyourlife
Copy link

@nraboy I would like to use "ionic serve --address 192.168.178.XXX" and call that ip with port 8100 on my phone in chrome. That's not easily possible because of your "feature". I could test like 90% of the functionality of my app and having instant updates while developing. Are you sure you don't want to change this? Would save me a lot of time. Is this localhost callback also if I call a certain Ip and not localhost?

@nraboy
Copy link
Owner

nraboy commented Jan 24, 2016

Ionic serve is not compatible. I have the library throw errors because it was too tiring trying to debug peoples problems, when it was ionic serve all along.

I didn't remove it because I wanted to. I removed it because it won't work.

Regards,

Repository owner locked and limited conversation to collaborators Jan 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants