Hey everyone, I'm in the process of upgrading fro...
# support-questions-legacy
r
Hey everyone, I'm in the process of upgrading from V14 to V16 of Supertokens and encountering an issue with Apple login. While I'm working on this, I'm also drafting a guide on integrating Supertokens with Apple Sign In, potentially as a blog post. When using the built-in Supertokens environment variables, my redirect route (https://github.com/RobSchilderr/nextjs-native-starter/blob/main/apps/next-web/src/pages/api/auth/redirect.ts) successfully captures both 'state' and 'code' in the query parameters. However, when I employ my custom environment variables, these two values are missing from the query in my redirect route. I've followed the guide on configuring Sign in with Apple (https://medium.com/identity-beyond-borders/how-to-configure-sign-in-with-apple-77c61e336003) and tried updating all Apple-related environment variables. Interestingly, the authentication itself is functioning, which implies my custom environment variables should be set correctly. Does anyone have suggestions on what might be going wrong? How does the update of 15.0.0 with
Updated appleRedirectHandlerPOST
effect this? Tips/tricks on how to debug are also welcome.
6 Views