/
Example configuration (tia® Connect)
Example configuration (tia® Connect)
server:
port: 8080
ssl:
enabled: true
key-store-type: PKCS12
key-store: <path>\<file>.p12
key-store-password: <password>
key-alias: <alias>
tia:
security:
oidc:
type: authorization_code
instances:
default:
sharepoint:
encryptionkeydefinitions:
- id: "1"
encryptionKey: <key>
- id: "2"
encryptionKey: <key>
custom:
sharepoint:
archiveFolder: <path>
sharedLinks:
accessMode: oidc
cmis:
url: localhost:8081/browser
protocol: http
repositoryid: <repository id>
auth:
type: oauth2
basic:
username: <username>
password: <password>
oauth2:
clientRegistrationId: cmisauth
spring:
security:
oauth2:
client:
provider:
azure:
issuer-uri: https://login.microsoftonline.com/<tenant id>/v2.0
user-name-attribute: name
registration:
sharedlinkauth:
provider: azure
client-id: <client id>
client-secret: <client secret>
authorization-grant-type: authorization_code
scope:
- openid
- email
- profile
cmisauth:
provider: azure
client-id: <client id>
client-secret: <client secret>
authorization-grant-type: client_credentials
scope: <client id>/.default
resourceserver:
jwt:
issuer-uri: https://login.microsoftonline.com/<tenant id>/v2.0
audience: <audience>
master-tenant-id: <tenant id>