Author: Ralf Haferkamp <rhaferkamp@owncloud.com> Date: Tue Feb 21 16:51:21 2023 +0100 idp: Utilize ownCloudUserEnabled Attribute to filter users This adds support for configuring an LDAP Attribute that can be used as a flag to disallow users to login. We currently default to 'ownCloudUserEnabled' as used in the default configuration of the graph service.
115 lines
2.8 KiB
YAML
115 lines
2.8 KiB
YAML
# Autogenerated
|
|
# Filename: idp-config-example.yaml
|
|
|
|
tracing:
|
|
enabled: false
|
|
type: ""
|
|
endpoint: ""
|
|
collector: ""
|
|
log:
|
|
level: ""
|
|
pretty: false
|
|
color: false
|
|
file: ""
|
|
debug:
|
|
addr: 127.0.0.1:9134
|
|
token: ""
|
|
pprof: false
|
|
zpages: false
|
|
http:
|
|
addr: 127.0.0.1:9130
|
|
root: /
|
|
tls_cert: ~/.ocis/idp/server.crt
|
|
tls_key: ~/.ocis/idp/server.key
|
|
tls: false
|
|
reva:
|
|
address: 127.0.0.1:9142
|
|
tls:
|
|
mode: ""
|
|
cacert: ""
|
|
machine_auth_api_key: ""
|
|
asset:
|
|
asset: ""
|
|
idp:
|
|
iss: https://localhost:9200
|
|
identity_manager: ldap
|
|
uri_base_path: ""
|
|
sign_in_uri: ""
|
|
signed_out_uri: ""
|
|
authorization_endpoint_uri: ""
|
|
insecure: false
|
|
trusted_proxy: []
|
|
allow_scope: []
|
|
allow_client_guests: false
|
|
allow_dynamic_client_registration: false
|
|
encrypt_secret_file: ~/.ocis/idp/encryption.key
|
|
listen: ""
|
|
identifierdefaultbannerlogo: ""
|
|
identifierdefaultsigninpagetext: ""
|
|
identifierdefaultusernamehinttext: ""
|
|
identifieruilocales: []
|
|
signing_kid: private-key
|
|
signing_method: PS256
|
|
signing_private_key_files:
|
|
- ~/.ocis/idp/private-key.pem
|
|
validation_keys_path: ""
|
|
cookiebackenduri: ""
|
|
cookienames: []
|
|
access_token_duration_seconds: 300
|
|
id_token_duration_seconds: 300
|
|
refresh_token_duration_seconds: 2592000
|
|
dynamic_client_secret_duration_seconds: 0
|
|
clients:
|
|
- id: web
|
|
name: ownCloud Web app
|
|
trusted: true
|
|
secret: ""
|
|
redirect_uris:
|
|
- '{{OCIS_URL}}/'
|
|
- '{{OCIS_URL}}/oidc-callback.html'
|
|
- '{{OCIS_URL}}/oidc-silent-redirect.html'
|
|
origins:
|
|
- '{{OCIS_URL}}'
|
|
application_type: ""
|
|
- id: xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69
|
|
name: ownCloud desktop app
|
|
trusted: false
|
|
secret: UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh
|
|
redirect_uris:
|
|
- http://127.0.0.1
|
|
- http://localhost
|
|
origins: []
|
|
application_type: native
|
|
- id: e4rAsNUSIUs0lF4nbv9FmCeUkTlV9GdgTLDH1b5uie7syb90SzEVrbN7HIpmWJeD
|
|
name: ownCloud Android app
|
|
trusted: false
|
|
secret: dInFYGV33xKzhbRmpqQltYNdfLdJIfJ9L5ISoKhNoT9qZftpdWSP71VrpGR9pmoD
|
|
redirect_uris:
|
|
- oc://android.owncloud.com
|
|
origins: []
|
|
application_type: native
|
|
- id: mxd5OQDk6es5LzOzRvidJNfXLUZS2oN3oUFeXPP8LpPrhx3UroJFduGEYIBOxkY1
|
|
name: ownCloud iOS app
|
|
trusted: false
|
|
secret: KFeFWWEZO9TkisIQzR3fo7hfiMXlOpaqP8CFuTbSHzV1TUuGECglPxpiVKJfOXIx
|
|
redirect_uris:
|
|
- oc://ios.owncloud.com
|
|
- oc.ios://ios.owncloud.com
|
|
origins: []
|
|
application_type: native
|
|
ldap:
|
|
uri: ldaps://localhost:9235
|
|
cacert: ~/.ocis/idm/ldap.crt
|
|
bind_dn: uid=idp,ou=sysusers,o=libregraph-idm
|
|
bind_password: ""
|
|
base_dn: ou=users,o=libregraph-idm
|
|
scope: sub
|
|
login_attribute: uid
|
|
email_attribute: mail
|
|
name_attribute: displayName
|
|
uuid_attribute: uid
|
|
uuid_attribute_type: text
|
|
user_enabled_attribute: ownCloudUserEnabled
|
|
filter: ""
|
|
objectclass: inetOrgPerson
|