Fix the location of the identifier-registration.yaml.
This commit is contained in:
1 parent
6b2953a357
commit
249d4eae97
2 files changed
+8
-6
No files matched your search
@@ -15,10 +15,12 @@ If you need to access oCIS running in a docker container, on a VM or a remote ma
|
|||||||
|
|
||||||
## Start the oCIS fullstack server from binary
|
## Start the oCIS fullstack server from binary
|
||||||
|
|
||||||
Upon first start of the oCIS fullstack server with `./bin/ocis server` it will generate a file `identifier-registration.yml` in the config folder in your current working directory. This file is used to configure the built-in identity provider and therefore contains the OpenID Connect issuer and also information about relying parties, for example ownCloud Web and our desktop and mobile applications.
|
Upon first start of the oCIS fullstack server with `./bin/ocis server` it will generate a directory tree skeleton in `$HOME/.ocis`. If that is already existing it will not be overwritten as it contains all relevant data for oCIS.
|
||||||
|
|
||||||
|
In `$HOME/.ocis/idp` is a file `identifier-registration.yaml`. It is used to configure the built-in identity provider and therefore contains the OpenID Connect issuer and also information about relying parties, for example ownCloud Web and our desktop and mobile applications.
|
||||||
|
|
||||||
{{< hint warning >}}
|
{{< hint warning >}}
|
||||||
The `identifier-registration.yml` file will only be generated if it does not exist yet. If you want to change certain environment variables like `OCIS_URL`, please delete this file first before doing so. Otherwise your changes will not be applied correctly and you will run into errors.
|
The `identifier-registration.yaml` file will only be generated if it does not exist yet. If you want to change certain environment variables like `OCIS_URL`, please delete this file first before doing so. Otherwise your changes will not be applied correctly and you will run into errors.
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
{{< hint warning >}}
|
{{< hint warning >}}
|
||||||
|
|||||||
@@ -92,9 +92,9 @@ basedn = "dc=ocis,dc=test" # base dn to construct
|
|||||||
|
|
||||||
{{< hint >}}
|
{{< hint >}}
|
||||||
There is a bug in the config merging for environment variables, cli flags and config files causing log settings not to be picked up from the config file when specifying `--extensions`. That is why I will
|
There is a bug in the config merging for environment variables, cli flags and config files causing log settings not to be picked up from the config file when specifying `--extensions`. That is why I will
|
||||||
* configure most of the config in a file,
|
* configure most of the config in a file,
|
||||||
* adjust logging using `OCIS_LOG_*` environment variables and
|
* adjust logging using `OCIS_LOG_*` environment variables and
|
||||||
* specify which extension to run using `ocis/bin/ocis server --extensions "comma, separated, list, of, extensions"`.
|
* specify which extension to run using `ocis/bin/ocis server --extensions "comma, separated, list, of, extensions"`.
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
#### Run it!
|
#### Run it!
|
||||||
@@ -129,7 +129,7 @@ To configure LDAP to use our glauth we add this section to the config file:
|
|||||||
```toml
|
```toml
|
||||||
[storage.reva.ldap]
|
[storage.reva.ldap]
|
||||||
idp = "https://ocis.ocis.test"
|
idp = "https://ocis.ocis.test"
|
||||||
basedn = "dc=ocis,dc=test"
|
basedn = "dc=ocis,dc=test"
|
||||||
binddn = "cn=admin,dc=ocis,dc=test" # an admin user in your oc10
|
binddn = "cn=admin,dc=ocis,dc=test" # an admin user in your oc10
|
||||||
bindpassword = "secret"
|
bindpassword = "secret"
|
||||||
userschema = { uid = "uid", displayname = "givenname" } # TODO make glauth return an ownclouduuid and displayname attribute
|
userschema = { uid = "uid", displayname = "givenname" } # TODO make glauth return an ownclouduuid and displayname attribute
|
||||||
@@ -158,7 +158,7 @@ Please use `exit` or `Ctrl-D` to exit this program.
|
|||||||
username: jfd
|
username: jfd
|
||||||
password: OK
|
password: OK
|
||||||
>> whoami
|
>> whoami
|
||||||
id:<idp:"https://ocis.ocis.test" opaque_id:"jfd" type:USER_TYPE_PRIMARY > username:"jfd" mail:"jfd@butonic.de" display_name:"J\303\266rn" uid_number:99 gid_number:99
|
id:<idp:"https://ocis.ocis.test" opaque_id:"jfd" type:USER_TYPE_PRIMARY > username:"jfd" mail:"jfd@butonic.de" display_name:"J\303\266rn" uid_number:99 gid_number:99
|
||||||
>> exit
|
>> exit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user