Hi everyone, I have used Auth0 for login/signup in my React project, it is running in my local, but, when I try to login my user they are getting logged in(I see them in the user management application) but it gets redirected to a page that shows the error Unable to issue redirect for OAuth 2.0 transaction
Below is my code :
<Auth0Provider
domain='dev-kbwaywymik8nd81z.us.auth0.com'
clientId='WuyDoh53Eaka64w7btCoSNcbw045CNlu'
authorizationParams={{
redirect_uri: window.location.origin,
}}
cacheLocation='localstorage'
>
{/* rest of the tags here */}
</Auth0Provider>
And I am triggering the action here:
<button type='button' className='auth-btn' onClick={loginWithRedirect}>
Login <FaUserPlus />
</button>
Can someone tell me where I am going wrong?