Laravel Angular Authentication with JWT | Redirect after Login, Protect Route #10

preview_player
Показать описание
Use Laravel and Angular together for Login and Signup with JWT, also include password reset via SPA.
Redirect after Login

--You May Also Like --

==================FOLLOW ME ==================

Subscribe for New Releases!

(ask me questions!)

--- QUESTIONS? ---

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Thanks for all your support!
Рекомендации по теме
Комментарии
Автор

Hi, I'm from Vietnam 😍
Thanks for the video.
And in the end of video is a review of the Vietnamese people.

levanluan
Автор

in the last angular is: import { BehaviorSubject } from 'rxjs';

jhonplazas
Автор

i like your videos a lot. since u explain deep topics and simple. hope u have a best life

etemkeskin
Автор

Man, you are the best. I really amazed by your lecture. Keep going

istanbulcity
Автор

how to make it user role based authentication?

justinangeloperez
Автор

You are great!

You could use better variable names and service name ie. Jarwis which make no sense.

Variable names ie "logged in" for different component/service is confusing -- especially when in a learning stage, other than that you are rock! -- keep going.

Thanks!

hardikraval
Автор

how can we fetch current user id in angular while using backend (laravel)

msmefederation
Автор

hi, love your tutorials! Keep up the good work

Have a couple of questions:
1. Is there a way to access user details like email or type of users etc from the payload because the access_token gives only user_id (sub)
2. Is it necessary to use issuer url (iss) to validate the token as issuer url changes from project to project or is there a neutral way to validate token

exsitewebsolution
Автор

hello, your tut is best, but i will wish that you write comments

scouser
Автор

Why we are using here authStatus = this.loggedIn.asObservable(); I am not able to think of any use of this line as we have written in AuthService.

Will you please elaborate.
Thanks

JaspreetSingh-wzsg
Автор

what is RXJS ?
Can you explain this ?

thakurjaswantsingh
Автор

hola en la versión de angular 6 me da error en ERROR in node_modules/rxjs/BehaviorSubject.d.ts(1, 15): error TS2307: Cannot find module
src/app/services/auth.service.ts(2, 10): error TS2305: Module has no exported member 'BehaviorSubject'. ayuda porque sucede

jota
Автор

how can i echo user name, email and Id

mohammadshuvo
Автор

let isValid =
if (isValid) {

}

goqorgrigoryan