Skip to content

Commit

Permalink
OZ-475: Provide appropriate OAuth2 configuration defaults. (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliouzbett authored Feb 22, 2024
1 parent 7c94b2a commit 133dc26
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/main/resources/eip-odoo-openmrs.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# *********************** OAuth2 Configuration ********************************************************************
#Enabled Oauth when set to true
# Enabled Oauth when set to true, defaults to false.
oauth.enabled=${OAUTH_ENABLED:false}

#The client Id of the account
oauth.access.token.uri=${OAUTH_ACCESS_TOKEN_URL}
# The client Id of the account, defaults to empty.
oauth.access.token.uri=${OAUTH_ACCESS_TOKEN_URL:}

#The client Id of the account to use to authenticate
oauth.client.id=${OAUTH_CLIENT_ID}
# The client Id of the account to use to authenticate, defaults to empty.
oauth.client.id=${OAUTH_CLIENT_ID:}

#The client secret of the account to use to authenticate
oauth.client.secret=${OAUTH_CLIENT_SECRET}
#Authentication scope, can be multiple values separated by commas
oauth.client.scope=${OAUTH_CLIENT_SCOPE}
# The client secret of the account to use to authenticate, defaults to empty.
oauth.client.secret=${OAUTH_CLIENT_SECRET:}

# Authentication scope, can be multiple values separated by commas, defaults to empty.
oauth.client.scope=${OAUTH_CLIENT_SCOPE:}
# ----------------------------------------------------------------------------------------------------------------------

# *********************** Odoo configuration **************************************************************************
Expand Down

0 comments on commit 133dc26

Please sign in to comment.