Path
- Default path:
- /etc/dracoon/oauth.properties
- Java property for overwriting the default path:
- dracoon.oauth.config.file:
- Start Tomcat with Java Opt -Ddracoon.oauth.config.file="/path/to/config/file"
- dracoon.oauth.config.file:
File
oauth.properties
## OAuth settings
###############################################################################################################
! OAuth session encryption key.
! To generate a random key you can use 'cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1' on bash console for example.
oauth_session_encryption_key=******
! OAuth connection authentication token.
! To generate a random key you can use 'cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1' on bash console for example.
! Same value as in api.properties
oauth_connection_authentication_token=******
! OAuth connection encryption key.
! To generate a random key you can use 'cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1' on bash console for example.
! Same value as in api.properties
oauth_connection_encryption_key=******
! Api path
sds_api_path=/api/v4
! Protocol switch for oauth connection to api [http,https].
client_protocol=https
Comments
0 comments
Article is closed for comments.