How to use Shopify's oidc function

We are on the Shopify Plus plan. According to Shopify’s documentation:https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts/identity-provider , we have connected to identity providers such as Microsoft and our own ID login system. However, the following error is reported during testing. How can I solve it?

An error occurred.

Access token request error.

Request ID : 5d8f204a-05ef-4da3-b26a-47f53fbbdabf-1741169592

Hide request details

state=01JNJWPY2E7K016HRZZS54B0W7

Can you describe this more to help us troubleshoot your issue?

I have the same issue. Shopify should be able to give better info on how to debug IDP issues. It’s like writing a test without know the question.

I can see from our logs that Shopify is successfully validating the access token so I am guessing its missing a claim but which one? Somebody help!

I tested some IDProviders and I can connect with auth0.com and clerk.com.
Especially clerk.com is easy. Just follow this page.
Integrations: Integrate Shopify with Clerk