Custom OIDC Identity Provider - "Access token request error" after successful /token response (Shopify Plus)

Short description of issue

I created custom OIDC using Firebase. I was able to log in via Google but when I log out and try to log in again, I get this screen saying “Access token request error.”

I assume that this is a cache problem?

The url of this page is
https://shopify.com/authentication/77788414198/login/external/callback?code=ABC..&state=ABC

Please help!

What type of topic is this

Custom OIDC

To anyone having the same issue:

I found out that this is due to the timeout.

Shopify’s current timeout is 1000ms