Auth0 Home Blog Docs

Beginner Vue.js Tutorial with User Login

Learn how to build a Vue.js application from scratch and easily add authentication so that users can register and login.

Read on :star2:

Brought to you by @holly :woman_technologist:t3:

3 Likes

Please let me know if you have any questions!

2 Likes

Hey Holly
Thank you for your tutorial! It was very conclusive and I could just follow it.
In the tutorial, you mentioned that part two would follow, which is about securing the API.

“If you’re interested in making calls to an API using Vue, there will actually be a part 2 to this tutorial where we do just that.”

Is this already available?

Best regards

Hey there @alainz!

It’s not there yet as on only 11 days ago we released the first part but we will let you know once it’s there!

2 Likes

Hey alainz! Part 2 is scheduled to come out next Wednesday! I’ll ping you here once it’s published :+1: Thanks for following along!

2 Likes

Here you go! https://auth0.com/blog/how-to-make-secure-http-requests-with-vue-and-express/ Ended up getting pushed back a little due to holidays. Let me know if you have any questions :slight_smile:

Hey there @alainz it’s already here! :slight_smile:

Thanks for the tutorial, it was very easy to follow.
If I wanted to edit some options of the login screen, like disabling sign-up and changing the locale, where should I do those? Can it be done with something along the lines of giving the createAuth0Client function an extra set of options?

Thanks in advance!

Thanks for pointing that out @pnieto! I’m sure @holly will follow-up on that soon!

So you are downloading all the javascript and html to the client side, and then using vue router to block access to certain pages if not authenticated? But all I have to do is open the console and view the data that was downloaded. I can even override the vue router from the javascript console. So this is not security. Security would be the page does not download from the server until after you are authenticated, right? Like how Spring Security does it?