Hi every one,
I just encountered an issue while working on iOS-Client. I’m using the Authorization: Basic (base64 of username:password) as mentioned here to log in to the OpenMRS Server, and it sends the response with sessionId. After the immediate login, REST calls are automatically authorized since the server has already identified the session.
But when I close the app and reopen - I need to log in with the credentials again. We don’t like this use case for mobile apps since if it logged in time, it should be active for some days until the token expired. I tried to use the existing jsessionId with the REST call Cookie as mentioned here, but it won’t work. So how can we achive this?
I hope Andirod client may have any solutions related to this
Cc : @f4ww4z