Getting null publicId

Hello!

Could you please advice what’s wrong in my case?

I get such response from token verify:
userTokenVerify: { publicId: null, tokenExpiresAt: '2026-02-20T11:32:33Z', userIdentifier: null }

Here is my manifest:
{
“name”: “Impact Finder”,
“description”: “Discover products that support real causes.”,
“privacy_policy_url”: “Privacy Policy - Impact Finder”,
“terms_url”: “Terms and Conditions - Impact Finder”,
“permissions”: [],
“scopes”: [
“product_list:write”,
“openid”,
“orders”
],
“trusted_domains”: [
“impact-finder.goodszilla.ca”
],
“handle”: “impact-finder”
}

As you can see I have openid scope.
My tokens are correct, query returns 200.

Can you please advise why I get null?

Hi @rostislav , this is due to a known bug in our latest Shop app release, which will be addressed in the next week’s release.

The issue only affects first time users of your Mini, and occurs if your Mini is running verifyToken flow before user clicks approves sharing their openid. To circumvent this issue, you can submit a new version of your Mini and move the authentication call after they click “Get Started” in your Mini. Next version of the app will handle this case automatically.

Hello @Tunca-Shopify
I started getting a token after get started button. Now I can see my first screen, but unfortunately on my Iphone 17 simulator (xCode) I don’t get a request for openid permission. I tried creating a new shop app account. I didn’t try to reinstall the app, it’s up to date as well as shop mini application versions and dependencies.

Without that request I still can’t get a publicId

Hi @rostislav , are you testing in development mode or with the production version of your Mini? Currently, the permission dialog is only triggered in production Minis, but we are actively doing improvements to this flow so you’ll be able to test permission flows in development as well.

We were about to submit a new app, so should we wait for the new version so that we and the review team can use it in dev?

Hi @Shane_Stratton , review team tests in production-like environment so you can submit your Mini and review team will let you know if we encounter any issues. Make sure you have openid in your manifest only if you need public id.

Thanks Tunca! I was worried because our auth flow suddenly stopped working and we couldn’t quite test fully, but good to know it’s just a dev issue. Submitting now!