adonisjs/ally

Facebook scope for birthday not working as expected

vic3king opened this issue · 0 comments

Package version

v.2.1.3

Node.js and npm version

Node: 10.12.0
Npm: 6.9.0

Sample Code (to reproduce the issue)

According to the docs to get birthday we pass in birthday but that throws an error
await ally
.driver('facebook')
.scope(['email', 'birthday'])
.redirect();
Screenshot 2020-05-12 at 20 27 18

I changed the code to according to facebook oAuth scope... This doesn't throw an error but from the payload returned I dont get to see the birthday.
await ally
.driver('facebook')
.scope(['email', 'user_birthday'])
.redirect();

BONUS (a sample repo to reproduce the issue)