baumblatt / capacitor-firebase-auth

Capacitor Firebase Authentication Plugin
MIT License
261 stars 129 forks source link

sign in with apple and getting other info such as email, phone #201

Open moblizeitllc opened 2 years ago

moblizeitllc commented 2 years ago

Hi Team,

in our case we ask user to sign in with apple. and then during checkout we ask user to provide email, phone to place order. apple rejects our app saying "sign in with apple" should be a self contained system and no addional info should be captured after that.

so, it means this plugin should return this data? please advise my code is like below

async login(){ cfaSignIn('apple.com').pipe( mapUserToUserInfo(), ).subscribe( async(user: any) => { console.log("logged in user with data", user) await this.handleUser(user) } ) }