Closed danielblagy closed 1 year ago
Currently tokens are returned in response body, i.e.
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InRlc3R1c2VybmFtZTExMSIsImV4cCI6MTY4NjQxNzE5MiwibmJmIjoxNjg2NDE2MjkyLCJpYXQiOjE2ODY0MTYyOTJ9.LQuwzSFqNMdGRylaq8lUHy3pUJgq7J7i-2O_dzUcK9s", "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InRlc3R1c2VybmFtZTExMSIsImV4cCI6MTY4ODIzMDY5MiwibmJmIjoxNjg2NDE2MjkyLCJpYXQiOjE2ODY0MTYyOTJ9.YOMYR9pmXrfLMZx6AH2e-4YVkBYPv3yPifC5L4rHm58" }
Instead, just return message successfully logged in in response on success.
successfully logged in
Update documentation (Success response example).
1) Removed tokens from response in POST v1/access/login 2)Updated info in documentation.md
Currently tokens are returned in response body, i.e.
Instead, just return message
successfully logged in
in response on success.Update documentation (Success response example).