-
Notifications
You must be signed in to change notification settings - Fork 16
/
oauth2.properties
37 lines (37 loc) · 1.09 KB
/
oauth2.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
#
# -- OAuth 2 Client-Provider Configuration for Azure AD --
#
#
clientId=openmrs
clientSecret=AzureADClientSecret
publicKey=AzureADPublicKey
publicKeyFilename=publicKey.txt
#
userAuthorizationUri=https://login.microsoftonline.com/[tenantID]/oauth2/v2.0/authorize
#
accessTokenUri=https://login.microsoftonline.com/[tenantID]/oauth2/v2.0/token
#
userInfoUri=https://graph.microsoft.com/oidc/userinfo
#
logoutUri=https://login.microsoftonline.com/[tenantID]/oauth2/logout
#
keysUrl=https://login.microsoftonline.com/[tenantID]/discovery/v2.0/keys
#
scope=https://graph.microsoft.com/user.read
#
#
# -- OpenMRS User/Person and OAuth2 user info JSON mappings --
#
# Those that are not supported by the provider are commented out
#
openmrs.mapping.user.username=email
# Used as username for Service Account access
openmrs.mapping.user.username.serviceAccount=oid
openmrs.mapping.person.givenName=given_name
#openmrs.mapping.person.middleName=
openmrs.mapping.person.familyName=family_name
#openmrs.mapping.person.gender=
openmrs.mapping.user.email=email
openmrs.mapping.user.systemId=sub
openmrs.mapping.user.roles=roles