Keycloak login issues after wait 2 mins


I have set up keycloak identity provider for my client. For each the login flow works perfectly except but when wait for 2 minutes before hitting login button then I’m getting the error. I have attached the error page herewith.

In log: WARN [] (default task-34) type=IDENTITY_PROVIDER_LOGIN_ERROR, realmId=Test, clientId=null, userId=null, ipAddress=, error=invalid_code"

Could you please help us on this?