Hi,
We are investigating an issue with Shopify Customer Accounts and a custom OIDC identity provider.
Our store currently supports login through a custom OIDC server. The OIDC server supports both:
- Email-based login
- LINE Login (Japanese SNS provider)
In both cases, our OIDC server ultimately issues an ID token with claims similar to:
{
"sub": "email:user@example.com",
"email": "user@example.com",
"email_verified": true
}
We have received reports that some customers who previously signed in using Shop Pay / Shopify’s standard official login system are unable to sign in through our custom OIDC provider.
When they try either email login or LINE Login through our custom OIDC server, Shopify shows an error message similar to:
│ Please sign in another way.
│ The login method you used does not match this account.
On our side, we confirmed that:
- The customer record exists in our database.
- The email address is correct.
- For LINE users, the line_id is either correctly linked or not relevant.
- Our OIDC server returns the same email-based sub regardless of whether the user signs in via email or LINE.
What we cannot confirm from our side is how Shopify internally associates the existing customer account with Shop Pay / Shopify’s standard login identity.
Our question is:
If a customer has previously signed in using Shop Pay / Shopify’s standard login system, and later tries to sign in using a custom OIDC provider with the same email address but a new OIDC sub, will Shopify
reject the login with this type of “login method does not match this account” error?
Also:
- Is there any way to inspect which login method or external identity is associated with a Shopify customer account?
- Is there a recommended migration or linking process for customers who previously used Shop Pay / Shopify’s standard login and now need to sign in through a custom OIDC provider?
- Does Shopify match external OIDC users only by sub, or can it link by verified email as well?
- Can an existing Shop Pay / Shopify-login customer be linked to a custom OIDC identity provider account?
Any guidance would be greatly appreciated.