Open
Description
Hello,
I have more a question about structure.
I have a API with a token (bearer) authentication. I used for this Sanctum.
My question is :
What is the best way to management the user with Json:Api ?
Do you create a API controller for this and you put this in the "api/v1/" or not ?
What do you do with the response of the login/register action...do you format this in "application/vnd.api+json" like the others actions from the others ressources or you used a simple "application/json" with the user informations and token ?
In this site of JSON:API (https://jsonapi.org/) I don't find any recommendation or speficiations about the auth reponse and format.
Thanks you
Jean-Marc