avniproject / integration-service

Service for integration Avni with other systems
GNU Affero General Public License v3.0
0 stars 2 forks source link

Fix. OpenMRSLoginAuthenticator to read JESESSIONID from cookie #69

Open mohan-13 opened 1 year ago

mohan-13 commented 1 year ago

Context: With latest OpenMRS upgrade and upgrade of webservices rest module, the /ws/rest/v1/session endpoint does not return sessionId in the body. Instead it should be read from the cookie. This fixes it by reading and extracting it from the cookie.

This may not be an immediate merge for product, unless you move to latest versions of Bahmni