openmrs / openmrs-module-oauth2login Goto Github PK
View Code? Open in Web Editor NEWDelegates user authentication to an OAuth 2.0 authentication provider.
Delegates user authentication to an OAuth 2.0 authentication provider.
Hi
Can you please indicate in the document on how to build this, also if possible please provide requirements or configuration to build this. I'm having trouble building the source code.
Thanks in advance
Non-resolvable parent POM for org.openmrs.module:oauth2login:1.0.0-SNAPSHOT: Could not transfer artifact org.openmrs.maven.parents:maven-parent-openmrs-module:pom:1.1.1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public, default, releases+snapshots)] and 'parent.relativePath' points at wrong local POM @ org.openmrs.module:oauth2login:1.0.0-SNAPSHOT,
As mentioned in keycloak/keycloak#14237, Keycloak is now required openid scope for access token otherwise the request will return 403 Forbidden (Missing openid scope) when requesting to userinfo endpoint.
As a workaround, I have to create client scope openid and add it as a default of the client in Keycloak.
I tested on Keycloak 20.0.2
Doc https://www.keycloak.org/docs/latest/upgrading/index.html#userinfo-endpoint-changes
Currently, if the user clicks on logout he's not logged out from the Identity provider. It means that if he goes back to OpenMRS he's automatically logged in again.
The Logout workflow process:
1 - Invalidate the user's OpenMRS Session
2 - Redirect the user to Identity provider logout page.
For the second step, the URL could be defined in the file oauth2. properties I guess
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.