Moved from a private thread for visibility
I am having 2 applications under one tenant. I need to call an API of one application when I am authenticated to the other one. How can I get the access token of the former when I am logged into the latter. I need the JWT access token to get the data into the second applications dashboard. But the data can only be called by the other applications api which requires and access token.
I am facing one more issue. The user object that is available in useAuth0 hook is not getting updated with user parameters and is remaining as undefined even after successfully authenticating. Do I need to call any function after calling loginWithRedirect .