Hello!
I unfortunately have a problem with redirecting the user after login to my vue.js application:
My login page:
<script>
import { useAuth0 } from "@auth0/auth0-vue";
export default {
setup() {
const { loginWithRedirect } = useAuth0();
return {
login: () => {
loginWithRedirect({
appState: { target: "/app/test" },
});
},
};
},
};
</script>
Login works fine - I get redirected to my callback page, but then get stuck there.
The user is logged in, but I do not get a redirect.
It doesn’t even work without the appState. According to the documentation I should be redirected to “/”.
Has anyone had the same problem and can help me?
- Chris