I'm trying to implement Sign In With Apple across both mobile and web, but the returned userId is different for each platform

I have Sign In With Apple working on my website and on my production stage app, but the returned userId's are different. What are possible reasons this is happening?