hello, I present to you the starting postulate:
I made a front application in angular with the auth0 SDK. It returns a token with the interceptors to my back application in laravel. I made this api with also the auth0 SDK.
I made a front application in angular with the auth0 SDK. It returns a token with the interceptors to my back application in laravel. I made this api with also the auth0 SDK.
I then perform on my private route a verification of my token:
Route::get(‘/private/scoped/userslist’, [MainController::class, ‘getAllUsers’])->middleware([‘auth0.authorize:read:users’]);
End of my token acces :
“scope”: “openid profile email”,
“permissions”: [
“read:users”
]
However, access is denied. I don’t really understand how authr0 middleware works and is it scalable? Thanks you for your help.