Apple login not returning a token using auth0-spa-js

I am trying to get our universal login to support Apple login in our React web application. I am using auth0-spa-js. The Apple login goes through successfully, but after the redirect back to our page, the following call to getTokenSilently returns an empty token. We are however able to get the user’s information.

await getTokenSilently({ audience: '<audience>' })

Currently, the login supports Google, as well as custom username/password login. Both login and return the token successfully.

Any ideas what could be going on? Thanks!

Hi @douglchoi,

Welcome to the Auth0 Community!

Can you give an example of an empty token? What do you mean by that?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.