i am trying to login with google plus. Please help me
Authorized JavaScript origins : http://localhost:8100
Authorized redirect URIs : http://localhost/callback
[/quote]
i am trying to login with google plus. Please help me
Authorized JavaScript origins : http://localhost:8100
Authorized redirect URIs : http://localhost/callback
[/quote]
Are you using Firebase with it, most times, the error is on the appname we specify. Please ignore the @firebaseio.com foor the app name.
https://auth.firebase.com/v2/appname@firebaseio.com/auth/facebook/callback
most time we write the appname as : appname@firebaseio.com – WRONG
It should be https://auth.firebase.com/v2/appname/auth/facebook/callback – CORRECT
Without the @firebaseio.com
Thanks a lot for helping , but I am not using firebase
Okay, you can do
$cordovaOauth.google(GOOGLE_KEY, [“email”]).then(function(result) {
Auth.$authWithOAuthToken(provider, result.access_token).then(function(authData) {})
})
Please check $cordovaOauth at ngcordova.org
The GOOGLE_KEY is a secret you get from Google.
thanks . i already tried this but not working. can u please share some link for verification
This should be useful
thanks a lot . will check and get back to you