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.
-
1:25:15
FULL SEND PODCAST
4 hours agoBen Shapiro Predicts the 2024 Election Winner and Goes IN on Andrew Tate!
120K39 -
1:47:49
The Quartering
6 hours agoTrump Victory MELTDOWN Goes Nuclear!
145K43 -
1:40:49
SLS - Street League Skateboarding
10 days ago2024 SLS Sydney: Women’s Knockout Round
77.2K1 -
1:08:33
Savanah Hernandez
4 hours agoAmerica’s Golden Era Has Begun: Trump's Day 1 Policies
46.8K14 -
56:02
Uncommon Sense In Current Times
4 hours ago $1.63 earned"Are You a House Negro Or a Field Negro? A Faith Perspective on Freedom with Kevin McGary"
40.1K6 -
17:53
DeVory Darkins
7 hours agoThe View SELF-DESTRUCTS as Kamala CONCEDES Election
65.1K183 -
1:59:12
vivafrei
8 hours agoLive with the Gad Saad! Talking "Suicidal Empathy" and the Post-Election Liberal Meltdown! Viva Frei
93.5K60 -
1:02:41
Josh Pate's College Football Show
6 hours ago $4.39 earnedWeek 11 Upset Alerts | Florida Keeping Billy Napier | The Playoff Bubble | Cole Cubelic
52.2K -
17:03
Bearing
7 hours ago2024 Election MELTDOWN! Woke Trump Derangement Hysteria
40.8K67 -
1:22:35
The New American
5 hours agoLeftist Meltdown Continues | The New American Daily
29.7K9