Login with credentials auth0 js v9

I was trying to implement a custom login component defined inside my react app. I couldnt find anything in the docs that helps me define my own login design from scratch until i came across the loginWIthCredentials function that being said i couldnt find any documentation for it. Is it deprecated ? it is present in the build of auth0-js v9.

Hi @ahmedserag2000, and sorry for the late reply.

The loginWIthCredentials function is indeed deprecated as it posed a security risk. The recommended functions to use are loginWithRedirect or loginWithPopup.

Please follow our docs on how to set up the React Auth0 Client.

Let me know if there is more I can help you with!
Teodor.