How can I make a session in vue.js without using jwt?

Solution for How can I make a session in vue.js without using jwt?
is Given Below:

I’m trying to authenticate the login page with vue.js. I sent a post request with e-mail and password and collected it into a token. After that I want to session. but I don’t want to use jwt. I want to set the session using the object in the token. how can I do that? How can I get the token because it is registered in localstorage?

 signin() {
      const data = { email: this.user.email, password: this.user.password };
      this.$axios
        .post(endpoint.auth.login, data)
        .then((response) => {
          console.log(response);
          localStorage.setItem("token", response.data);
          this.submitted = "true";
        })
        .catch((e) => console.log(e));

      this.$router.push("/profile");
    },