We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I have started getting the given error in my production telemetry when using SignInWithApple.authorize on iOS:
SignInWithApple.authorize
TypeError: undefined is not an object (evaluating 'r.name.firstName')
It seems to be related to this line, which seems to expect name to always be an object, and apparently it doesn't!
name
Maybe this is due to changes on Apple's side?
To Reproduce
SignInWithApple.authorize({ clientId: this.appleClientId, redirectURI: `${process.env.BASE_URL}/signin`, scopes: "email", state: "12345", nonce: "nonce", })
Expected behavior Should probably have a little guard for name to be possibly undefined, such as:
givenName: res.user?.name?.firstName,
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I have started getting the given error in my production telemetry when using
SignInWithApple.authorize
on iOS:TypeError: undefined is not an object (evaluating 'r.name.firstName')
It seems to be related to this line, which seems to expect
name
to always be an object, and apparently it doesn't!Maybe this is due to changes on Apple's side?
To Reproduce
Expected behavior
Should probably have a little guard for
name
to be possibly undefined, such as:Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: