Premium Only Content

PHP & MySQL stateless REST-API with JWT authentication 2021
Docker compose setup: https://github.com/neoan3/docker
neoan3 docs: https://neoan3.rocks
The goal of this video is to securely navigate stateless JWT (jsonwebtoken) authentication and authorization within the neoan3 PHP framework.
Fun fact: this video was recorded without internet connection.
00:00 Why this video
01:00 Docker setup
04:11 neoan3 migration tool
07:40 Creating authentication endpoint
08:16 API-routing in neoan3
12:25 Introduction to built-in endpoint tester
17:47 Using JWT to restrict endpoint access
18:56 Creating a simple user model (+ setting up MySQL table)
21:00 Registering a user
23:50 Securing password and abstracting model-access
36:28 Testing JWT handling
38:50 Login (authentication) logic
55:45 Scopes / Permissions
CODE: https://blua.blue/article/how-to-use-in-the-neoan3-framework-13b7/
Default API endpoint using the docker setup: http://localhost:8090/api.v1
About CORS: modify the file /app/default.php --- allowed_origins in order to accept cross-origin requests.
-
2:01:33
Right Side Broadcasting Network
2 hours agoLIVE REPLAY: President Trump Makes an Announcement - 9/30/25
86K21 -
1:56:03
MattMorseTV
2 hours ago $8.19 earned🔴Trump's Oval Office DECLARATION.🔴
43.3K26 -
LIVE
Simply Bitcoin
2 hours ago $0.52 earnedIs $1.6B about to HIT Bitcoin TODAY?! (FTX SAGA ALMOST OVER!) | EP 1343
176 watching -
LIVE
SternAmerican
1 day agoPrecinct Strategy Briefing – Tuesday, September 30 at 1:00 PM EST - Steve Stern & Dan Schultz
170 watching -
LIVE
Rebel News
1 hour agoTruth & Reconciliation Day, Poilievre on anti-Christian hate, No new immigration | Rebel Roundup
361 watching -
LIVE
TheAlecLaceShow
1 hour agoHegseth Calls Out FAT Generals | Schumer Shutdown | Charlie Kirk Conspiracy’s | The Alec Lace Show
98 watching -
LIVE
LFA TV
14 hours agoBREAKING NEWS ALL DAY! | TUESDAY 9/30/25
3,364 watching -
1:06:46
The Rubin Report
2 hours agoListen to ‘The View’ Crowd Gasp as Whoopi Doubles Down on Extremist Rhetoric
154K74 -
1:16
Steven Crowder
2 hours agoI'm Back
159K562 -
LIVE
The Shannon Joy Show
3 hours agoWWE DC! Chuck The Cuck Schumer Takes On Fat Boy Trump In A Budget Battle. Live W/ David Knight
304 watching