M
M
Mikhail Korolkov2020-03-04 11:26:10
JSON Web Token
Mikhail Korolkov, 2020-03-04 11:26:10

Laravel+Vue+jwt auth: Authorization, registration - how to do it?

Good day, hello everyone, tell me how to implement authorization and user registration in Laravel using Vue + jwt? I went around the entire Internet, I couldn’t find it anywhere, maybe I didn’t search well, maybe because I’m weak and just started this stack for 4 days I’ve been sitting in agony, nothing works, thank you in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2020-03-04
@Kozack

Searched very badly

  1. https://medium.com/@gitesky14/how-to-authenticate-...
  2. https://codebriefly.com/laravel-jwt-authentication...
  3. https://codebriefly.com/laravel-jwt-authentication...
  4. https://codeburst.io/api-authentication-in-laravel...
  5. Authorization in laravel +vue +jwt auth?
  6. ...

M
Mikhail Korolkov, 2020-03-04
@misha1994

ATP did according to the article https://codebriefly.com/laravel-jwt-authentication... step by step at the end with npm run watch an error crashes, I don’t understand why https://github.com/mishakorolcov1/Laravel-Vue-jwt- auth
ERROR in ./resources/js/pages/admin/Dashboard.vue?vue&type=script〈=js& (./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/ lib??vue-loader-options!./resources/js/pages/admin/Dashboard.vue?vue&type=script〈=js&)
Module not found: Error: Can't resolve '../../components/user -list.vue' in 'E:\projects\4\laravel_jwt_vuejs\resources\js\pages\admin'
@ ./resources/js/pages/admin/Dashboard.vue?vue&type=script〈=js& (./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib? ?vue-loader-options!./resources/js/pages/admin/Dashboard.vue?vue&type=script〈=js&) 17:0-54 22:14-22
@ ./resources/js/pages/admin/Dashboard .vue?vue&type=script〈=js&
@ ./resources/js/pages/admin/Dashboard.vue
@ ./resources/js/router.js
@ ./resources/js/app.js
@ multi ./resources/js /app.js ./resources/sass/app.scss

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question