Skip to content

Commit

Permalink
remove attribute for appointments.
Browse files Browse the repository at this point in the history
  • Loading branch information
icrc-fdeniger committed May 3, 2024
1 parent b433509 commit cdbe94b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions backend/startup-oauth2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
#See the code https://github.com/openmrs/openmrs-core/blob/2.5.12/startup-init.sh
OMRS_HOME=${OMRS_HOME:-'/openmrs'}
cat > "$OMRS_HOME"/data/oauth2.properties << EOF
clientId=openmrs
clientId=${OMRS_OAUTH_CLIENT_ID:-openmrs}
clientSecret=${OMRS_OAUTH_CLIENT_SECRET}
userAuthorizationUri=${OMRS_OAUTH_USER_AUTHORIZATION_URI}
accessTokenUri=http://keycloak:8080/realms/main/protocol/openid-connect/token
keysUrl=http://keycloak:8080/realms/main/protocol/openid-connect/certs
userInfoUri=http://keycloak:8080/realms/main/protocol/openid-connect/userinfo
accessTokenUri=${OMRS_OAUTH_TOKEN_URI:-http://keycloak:8080/realms/main/protocol/openid-connect/token}
keysUrl=${OMRS_OAUTH_KEY_URI:-http://keycloak:8080/realms/main/protocol/openid-connect/certs}
userInfoUri=${OMRS_OAUTH_USER_INFO_URI:-http://keycloak:8080/realms/main/protocol/openid-connect/userinfo}
logoutUri=${OMRS_OAUTH_USER_LOGOUT_URI}
scope=openid
openmrs.mapping.user.username=preferred_username
openmrs.mapping.user.username.serviceAccount=preferred_username
scope=${OMRS_OAUTH_SCOPE:-openid}
openmrs.mapping.user.username=${OMRS_OAUTH_MAPPING_USERNAME:-preferred_username}
openmrs.mapping.user.username.serviceAccount=${OMRS_OAUTH_MAPPING_USERNAME_SA:-preferred_username}
openmrs.mapping.person.givenName=given_name
openmrs.mapping.person.familyName=family_name
EOF
Expand Down

0 comments on commit cdbe94b

Please sign in to comment.