async handleRedirectCallback()

in frontend/src/auth/index.js [58:71]


      async handleRedirectCallback() {
        this.loading = true;
        try {
          await this.auth0Client.handleRedirectCallback();
          this.user = await this.auth0Client.getUser();
          this.isAuthenticated = true;
          bus.$emit('authenticated', this.user)          
        } catch (e) {
          this.error = e;
        } finally {
          bus.$emit('loaded', true)
          this.loading = false;
        }
      },