Embedded login in React application

Hello, we use Auth0 for our react application, and we have the login experience embedded in our application, but we used a lot of workarounds to make it work.

And now when we want to upgrade the packages we are unable to make it work. So the question is, do you have any guide how to implement the embedded login experience (both with social login and login password) inside the React application