Getting the connection is not enabled for Username-Password-Authentication

Using Auth0 username password
Testing login using Playwright works fine in local.
While pushing the code to github, the same test case fails in the github runner.
Logs in Auth0 says “connection is not enabled”, the client secret are correct in the Auth0 logs