abacritt / angularx-social-login

Social login and authentication module for Angular 17
636 stars 387 forks source link

adding multiple scope on fbLoginOptions not working and FB login is not successful #579

Closed shahin4u000 closed 1 year ago

shahin4u000 commented 2 years ago

I am currently using version 4 on my angular 13 app. While trying to add more scope on fbLoginOptions, FB is throwing error like this:

Sorry, something went wrong. We're working on getting this fixed as soon as we can.

Here is how I tried to pass the scope as described. However, if I removed multiple scopes to a single scope it seems everything is working fine. Does anyone have this problem know what would be the solution?


const fbLoginOptions = {
  scope: 'pages_messaging,pages_messaging_subscriptions,email,pages_show_list,manage_pages'
}; // https://developers.facebook.com/docs/reference/javascript/FB.login/v2.11

this.authService.signIn(FacebookLoginProvider.PROVIDER_ID, fbLoginOptions);
Heatmanofurioso commented 2 years ago

@shahin4u000 Really seems to be an issue on Facebook's side of the equation. Any more info you can provide on the issue?

Heatmanofurioso commented 2 years ago

@shahin4u000 Any news on this? If not, I'd like to close this

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.