node-apple-signin icon indicating copy to clipboard operation
node-apple-signin copied to clipboard

redirectUri should be optional on getAuthorizationToken

Open guisehn opened this issue 6 years ago • 0 comments

The getAuthorizationToken function expects a redirectUri. If it's not supplied, it throws an error with the message redirectUri is empty.

While passing the redirectUri is required when doing sign in through the web, it doesn't exist when the authentication happens natively through an iOS app. For this reason, this field should be optional.

guisehn avatar Nov 04 '19 06:11 guisehn