Skip to main content

Generate token

POST 

/auth/token

Token handles the generation of an authentication token using credentials. It receives a Fiber context, extracts the necessary configuration from the AuthHandler, and calls the GenerateToken function. If token generation fails, it returns an error response with the appropriate status code and error message. On success, it returns the generated token as a JSON response. For more information, refer to the API documentation. follow the guidelines provided in https://developer.v3control.com/docs/docs/autenticacao

Request

Responses

OK