User is unauthorized after successful signInWithOAuth flow (apple)

Hi, I tested the auth flow successfully using example-app.com as illustrated here:

https://medium.com/identity-beyond-borders/how-to-configure-sign-in-with-apple-77c61e336003

However, when going through my app, I see a 401: User is unauthorized message on the /callback route in the auth logs.

{ "component": "api", "error": "401: User is unauthorized", "level": "info", "method": "POST", "msg": "401: User is unauthorized", "path": "/callback", "referer": "https://appleid.apple.com/", "remote_addr": "194.110.113.70", "time": "2022-12-15T16:25:13Z", "timestamp": "2022-12-15T16:25:12Z" }

Why could this be the case? I believe I followed the instructions here successfully but it looks like I might have made a mistake somewhere along the line.

https://supabase.com/docs/guides/auth/social-login/auth-apple
Medium
One of the interesting things Apple rolled out at their WWDC19 conference was “Sign In with Apple. Which is an authentication service
Was this page helpful?