City-of-Helsinki/tunnistamo

Re-request Facebook authentication dialog if user declines to give her email

Closed this issue · 0 comments

If the modifies the Facebook app authentication dialog and declines to give her email address, SSO authentication will fail. When the user tries to log in again, no app authentication dialog is shown by default. helsso needs to specifically request this by passing auth_type=rerequest to Facebook.

https://developers.facebook.com/docs/facebook-login/web/permissions#re-asking-declined-permissions