Bug #1910
User Story #1897: API endpoints to add new cases
API Authentication: First successfull authentication answers with outdated token
Start date:
17 Sep 2020
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
I authenticate through the API successfully with user name and password.
As response I receive a token,
When I use that token, in any other request for editing data through the API, it fails with the response:
{
"detail": "APP Token expired, request a new APP Token"
}
Effectively it responds with the token which I used the last time I was playing with editing through API. I can see that, as my last Token is stored in postman in the different requests I formerly did.
But when I authenticate a second time, I get a new token, which then works.
That has to be solved, as in a mobile app, that would cause major problems.