Auth0 and Vue3 Quickstart?

I used this thread a year ago and today while running the same old Vue 3 app again, I am facing these strange bugs related to auth0.

Just because I happen to use the latest version of Vue, I have to go through the struggle of figuring out a way to make this work. Why can’t you guys just give it some attention and make it support Vue 3 officially?

Guess I’ll have to drop auth0 from my app…

1 Like

For me, the only thing that seems to be working flawlessly is vue-auth0-plugin - npm

Hi @dan-auth0, thanks for the examples.

Will you be writing an exlanation of the code like Holly did for the Vue2 version

An example on its own is useful, but a lot of things in that code doesn’t necessarily make sense and needs explanations.

1 Like

Hello all,

I figured it would be a good idea to give an update here as well, we are actively working on a dedicated SDK for using Auth0 within a Vue 3 application. This means that, any time soon, we will be announcing a beta release of this SDK as well as ship a new quickstart that explains how to use this new SDK with a Vue 3 application. I can’t give any exact timeframe yet, but it should be available in a couple of weeks.

Once the beta is announced (an announcement should happen on the community platform as well), please know that any feedback is appreciated!

3 Likes

That is the plan but it will be based on the upcoming Auth0 Vue SDK that covers Vue 3 :muscle:
Please see Fred’s reply above :slight_smile:

2 Likes

Oh no, not another option :frowning:

Please just give us some stability.

We currently have a Vue2 website running for our company, but we are forced to upgrade to Vue3 from other directions. We do not have the capacity to upgrade now using one Auth0 method, and in a couple of weeks again rewrite because Auth0’s recommended method changed.

At the current time, what is the recommended way of using Auth0 in Vue3?

Oh no, not another option . Please just give us some stability.

By popular demand we are improving the developer experience to integrate Auth0 in Vue by introducing our official Vue Plugin. I believe by doing so we are trying to improve stability and ensuring our users have less things to worry about when implementing Auth0.

Important to note here is that I believe there shouldn’t be no real reason to rewrite it again in a couple of weeks when we release our SDK.

Ofcourse, we encourage to use our SDK, as it allows to integrate things with the least amount of effort, but if your solution works using Auth0’s SPA-JS, I believe it should be fine for the most part (you will just need to take care of some Vue specific things yourself instead of relying on our Vue SDK).

That said, eventually moving to the new SDK isn’t a bad idea, but not something that I feel like need to be done with high urgency.

At the current time, what is the recommended way of using Auth0 in Vue3?

I believe, currently, there hasn’t been much of a change yet. The advice mentioned above could still be applicable. Once our SDK and Quickstart are released, the approach used there will be the recommended way (which again doesn’t mean it invalidates your current approach using Auth0-SPA-JS directly).

Also note that the Vue SDK will use Auth0-SPA-JS under the hood, meaning that migrating to the Vue SDK shouldn’t be very complicated when u are already using Auth0-SPA-JS, as the underlying pieces are identical.

4 Likes

Thanks for following up on that @frederik.prijck1 !

That means we are days away from it!
I can’t wait for it…where can we subscribe to be notified by email about this announcement once it’s out?

We’ll make sure to let you know here once it’s there!

1 Like

Will be super nice to see updated docs on this!

I think this is the official auth0-vue SDK although it’s still in beta

Yep that is correct.

1 Like

Ok yo kes responfo rapido

Autho and vue3 Quickstar?

Auth0 and vue3 Quickstart?

Auth0 and Vue3 Quickstart

Okestoy tratando de haset un inicuio rapodo