Laravel Angular Authentication with JWT | Laravel CORS solved #6

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

--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!
Рекомендации по теме
Комментарии
Автор

For those facing issues with errors regarding Access-Control-Allow-Origin:
So.., I tested over and over again and hence suggest using the following code as it is (no extra space | no more no less):

*");
Content-type, X-Auth-Token, Authorization, Origin');
return $next($request);

this -> : *"); -> would be wrong cause there's an extra space after '-Origin'
same with -> : Content-type, X-Auth-Token, Authorization, Origin');

trust me, extra spaces will affect badly (atleast in this scenario).. I reproduced and tested this over and over again.. lost 5 hours of my life which I won't ever get back :(
hope this helps some other lost soul

wethekidsz
Автор

thank u sir, Bitfumes Webnologies is the best YouTube channel to learn Laravel & Angular

adsbix
Автор

Great, so helpful video it is. thank you

shumonbalok
Автор

Si te da error por Access-Control-Allow-Origin, no busques más solo por los espacios puede dar error en los header.


        header('Access-Control-Allow-Headers: Content-type,  X-Auth-Token,  Authorization,  Origin');

Piroft
Автор

100% Perfectly Worked !!

Thank You Very Much !! :D

KistlakRajapakshaSevenNet
Автор

hi,
for recent versions of laravel is not necessary the middleware cors ?, without placing it it accepted the requests and when placing it it rejects them...

juancastillo
Автор

great videos, any chance of videos on how to integrate Google Analytics with laravel application ?
thanks

Cybersix
Автор

what is your vscode theme, I really like it and the content in the video is superb

yusuphh.kajabukama
Автор

Sir please complete series . I am waiting

ts-nqbo
Автор

ReflectionException: Class does not exist in file on line 767
Stack trace: I am getting these issue when acccess api but when comment these line //'namespace' => 'App\Http\Controllers', its working i ma not getting what is isssue plz explain it

satyendrasingh
Автор

Where u use jwt..just a simple login without any token

ABHISHEKKUMAR-nerk
Автор

I hav ean error
Http failure response for 0 Unknown Error

sathishkumar
Автор

I have an error

Malformed UTF-8 characters, possibly incorrectly encoded

goqorgrigoryan
Автор

how to hide "profile link" when user not login??
and when user login hide" login link" ??

dhavalbera
Автор

i did what exactly u said..but i shows "unknown status" error

athulya.pvijayan