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.
-
LIVE
MattMorseTV
2 hours ago $5.00 earned🔴Trump’s Oval Office PROCLAMATION. 🔴
1,232 watching -
0:31
Danny Rayes
1 day agoThis Company is Cooked 😨
3.37K1 -
LIVE
Wayne Allyn Root | WAR Zone
6 hours agoWAR Zone LIVE | 9 SEPTEMBER 2025
166 watching -
1:14:54
vivafrei
4 hours agoCash for Criminals? Did Judge Wrongly Release Accused Murderer? Epstein Doc Release! Swalwell Sucks!
82.2K28 -
2:02:47
The Quartering
5 hours agoToday's Breaking News! Greta FAKES Drone Attack, Animal Cruelty Spike & Cracker Barrel
105K44 -
1:15:17
Awaken With JP
5 hours agoKaren Strikes Again, There is No Crime, Communism Succeeds! - LIES Ep 107
49.3K27 -
39:11
Stephen Gardner
3 hours ago🔥Trump TAKES ACTION as Democrats ABANDON Party!
32.4K21 -
11:37
Robbi On The Record
12 days agoThe Devil is in the Branding..
46.5K22 -
LIVE
LFA TV
12 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/9/25
1,133 watching -
DVR
freecastle
6 hours agoTAKE UP YOUR CROSS- The Definition of Insanity | We Have Forgotten How to Love
4.82K6