node-apple-signin
node-apple-signin copied to clipboard
redirectUri should be optional on getAuthorizationToken
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.