Hello,
I’m getting an error while using the SDK with react only on mobile browser.
I’m calling loginWithRedirect and then getAccessTokenSilently and it throws the error “Login required”.
My configuration is the following:
<Auth0Provider
domain="DOMAIN"
clientId="CLIENT_ID"
authorizationParams={{
audience: "AUDIENCE",
redirect_uri: window.location.origin + "/login",
cacheLocation: "localstorage",
useRefreshTokens: true,
scope: "read:current_user",
}}
>
"@auth0/auth0-react": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1"
What should I do ? (No answers found on other topics)