CTRK Chaitanya
Posts: 0
Joined: Tue Jun 02, 2015 6:25 pm

Social API getting Bad Request OAuth login failed popup

social api, google sign in getting:::
Bad Request "OAuth login failed" with error code DBEL019 here is a sample screen shot link http://tinyurl.com/apperyiosocialerror

CTRK Chaitanya
Posts: 0
Joined: Tue Jun 02, 2015 6:25 pm

Social API getting Bad Request OAuth login failed popup

My Application Id is 411e71fc-cff8-472a-9e77-3bc1b3c0dc12

Code is exactly same as mentioned in the example. (Off-course i changed the Ids). Also verified the the credentials in oauth.io and they worked.

Apperyio.User.loginGoogle("XXXX", "http://appery.io/app/view/411e71fc-cf...{
alert("success" + token);
},function(error) {
alert("error" + JSON.stringify(error));
});

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Social API getting Bad Request OAuth login failed popup

Hi -

Could you please clarify, have you enabled google+ API? Please check the screen shot here: http://prntscr.com/84j7rs

CTRK Chaitanya
Posts: 0
Joined: Tue Jun 02, 2015 6:25 pm

Social API getting Bad Request OAuth login failed popup

Yes i have enabled google+ api in my developer console

Image

CTRK Chaitanya
Posts: 0
Joined: Tue Jun 02, 2015 6:25 pm

Social API getting Bad Request OAuth login failed popup

I just deleted and created a new OAuth client Id and key and update my appery app and it all worked....

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Social API getting Bad Request OAuth login failed popup

Hello!

Thank you for the update, glad it works!

Return to “Issues”