The system config is OpenMRS core 2.6.0 / Refapp 2.13.0-SNAPSHOT / Ubuntu 22.04.1 LTS
The effort has been to install oauth2login on a system with the above mentioned specifications. The below error (500–Internal Server Error) is seen after the installation of the module:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [webModuleApplicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [webModuleApplicationContext.xml] cannot be opened because it does not exist
I don’t think we’ve ever tried it yet with Core 2.6.x. Not that the error message that you shared necessarily hints at this, but it would be worthwhile trying the setup with a released Ref App (say 2.12.0) and a released version of the module (say 1.1.0).
@nischith / @mksd - unless things have changed in the last year (and from github it does not appear that they have), in my experience this module is not yet compatible beyond OpenMRS 2.3.x, due to upgrades to the Spring Framework in core and the dependence that this module has on specific versions of Spring due to the utilization of Spring Security.
Right now I am in the middle of an ongoing implementation. I really think this module adds a lot of value and makes the login process efficient. Would you advise downgrading to OpenMRS Core 2.3.x to incorporate this module? or are there any suitable alternatives?
Also, it would be good to know if there are implementations out there making good use of this module.
Also as soon as we have released Ref App 3.x we will want to bump Core to the latest snapshot. At that point we will face and fix the issues that arise against Core 2.6.x since they will show up on the bleeding edge Ozone Pro.