Techofficer / node-apple-signin

Node.JS wrapper around Sign In with Apple REST API
MIT License
53 stars 40 forks source link

response Mode #3

Open sargsyanvlad opened 4 years ago

sargsyanvlad commented 4 years ago

When I try to sign in with AppleId I have noticed that it fails with an error, saying that response_mode must be form_post when a name or email scope is requested. So I did minor changes in index.js which fixed my issue. Maybe it will be useful for others too.

renarsvilnis commented 4 years ago

Hi @sargsyanvlad , I'm working on the fork of the library. Have a question do you know why openid scope is always added to the scopes?

Apple docs don't seem to mention it - https://developer.apple.com/documentation/sign_in_with_apple/clientconfigi/3230955-scope

Only reference I could find was apple forums - https://forums.developer.apple.com/thread/119502