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

Ready to post? :magnifying_glass_tilted_left: First, try searching for your answer.
getting the connection is not enabled for Username-Password-Authentication when running playwright test case from Github runner but same playwright test case run fine in local

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