Auth0 React - Server Side Login

We currently have a react application that utilizes the Auth0 react package to handle authentication using the universal login.

We also have a backend service that talks to Auth0 and performs logins for our customers who do not use our frontend app, but still wish to access our APIs.

We have a use case where we would like for a user to be authenticated for the frontend SPA, without having to enter their credentials through the react SDK. For example I can get a token from my own service (which still fetches the token from Auth0), but I am not sure how to make the react library “know” the user is authenticated - since it is not going through universal login. Each call to “isAuthenticated” from the useAuth0 hook returns false, and it wants to redirect to universal login.

Any thoughts?