Login to a react app from wordpress

I have a wordpress website which has a landing page. I want to provide a login button there which will redirect user to Auth0 universal login page. From there once user logs in it should redirect to my react app with Authentication.

Right now I have used a login link in the wordpress site, it redirects me to react app after login but the isAuthenticated is coming as false. How can I get the authenticated user in my react app?

For react I am using auth0-react library.
Login url - Login

Hi @tisha.jain,

Welcome to the Auth0 Community!

It may be easier to have a button on your wordpress site that redirects your user to a route on your React app that automatically begins the login process (i.e. loginWithRedirect).

Does that make sense?