Hello,
I have a question regarding Symfony API Platform and how with functional test permissions and roles when using Auth0 token (I am using the Auth0 PHP SDK to decode the token).
My approach to securing endpoints is to decode the permissions and roles using an authenticator when the API receives the Auth0 token.
What is the best rpactice to test my application ?
Create fake auth0 token for the test ? If yes how ?
Thanks!