Can’t get token when calling useGenerateUserToken on simulator and real phone although I can still get that value on browser. I have added scope openid in manifest.json file. Has anyone had the same problem and how did you fix it?
I was getting a test_user_123 user token in the chrome dev tool. However, in the simulator I got an actual user token that I could verify using shop mini admin API. I am using iPhone 15 Pro simulator on my mac.
I couldn’t console log it on the simulator, so I ended up using the Toaster component to render the token on the screen. I put this Toaster behind a dev condition `const isDev = import.meta.env.DEV`.
In the browser you see mock values but inside Shop you will get real values for the logged-in user. @zimzom are you still having an issue here?