Commit Graph
14 Commits
Author SHA1 Message Date
Christian Richter 2fde64db24 Merge pull request #8229 from dragonchaser/fix-ocis-path-in-docs
change ocis basepath from home to
2024-01-17 12:57:05 +00:00
Florian SchadeandRalf Haferkamp 5d44d1d61d [full-ci] enhancement: use reva client pool selectors (#6452)
* enhancement: use reva client pool selectors

register mock service to registry and pass tests

* enhancement: bump reva

* Fix a couple of linter issues

---------

Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2023-06-08 10:43:53 +00:00
Willy Kloucek 5adddd6c1b Merge pull request #6444 from owncloud/remove-references-to-oc.ios-protocol
remove references to oc.ios://ios.owncloud.com since it is no longer used
2023-06-05 13:30:48 +00:00
Ralf Haferkamp e012901079 Revert "idp/proxy: Match users by ID instead of name by default"
This reverts commit 52951b42b0.

The change broke authentication for at least the desktop client when
using the builtin idp. There seem to be issues in the IDP (lico) which
result in the implicit scoped not being added correctly in some case.
When that scope is missing the `lg.uuid` claim will not be present in
the userinfo and we can correctly match users by id.

This reverts back to the old behaviour of matching users by name. Which
also brings some aspects of https://github.com/owncloud/ocis/issues/904

Fixes #6415
2023-06-01 09:20:33 +00:00
Ralf Haferkamp dbfc660bf4 idp/proxy: Match users by ID instead of name by default
Reconfigure the oidc clients for lico, so that lico adds the "lg.uuid" to
tokens and userinfo by default. That claim will contain the userid. So
we can now use the userid for matching users when using the default
idm/idp configuration. This fixes further problems so that users being
recreated with the same name are correctly treated as differnt users.

Fixes: #904
2023-05-23 07:50:42 +00:00
Ralf Haferkamp c421ed760e Bump libregraph/lico to latest master
This is need for getting this fix: libregraph/lico#95
2023-05-16 15:27:50 +00:00
Martin dc820cc1ca Merge pull request #6026 from owncloud/mmattel-patch-1
Update IDM config.go
2023-04-06 12:27:08 +00:00
Ralf Haferkamp 6e030a5c72 commit 9e73b17a40
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.
2023-02-22 10:24:48 +00:00
Michael Barz 823b784444 commit f3667b1e24
Merge: 7da519aa1 018cc5b9f
Author: Michael Barz <mbarz@owncloud.com>
Date:   Mon Nov 21 14:50:25 2022 +0100

    Merge pull request #5077 from wkloucek/lower-default-idp-lifespans

    lower default access / id / refresh token lifespans
2022-11-21 13:52:35 +00:00
Willy Kloucek 9cfe7a2328 commit 3e4068e2a0
Author: Willy Kloucek <wkloucek@owncloud.com>
Date:   Tue Nov 15 13:07:53 2022 +0100

    fix OCIS_GRPC_CLIENT_TLS_CACERT annotation
2022-11-15 13:51:44 +00:00
Ralf Haferkamp 85ffb85c9f commit ee974afebf
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Thu Nov 3 10:17:08 2022 +0100

    [full-ci] Introduce TLS Settings for go-micro based grpc services and clients (#4901)

    * Introduce TLS Settings for go-micro based grpc services and clients

    TLS for the services can be configure by setting the OCIS_MICRO_GRPC_TLS_ENABLED"
    "OCIS_MICRO_GRPC_TLS_CERTIFICATE" and "OCIS_MICRO_GRPC_TLS_KEY"
    enviroment variables.

    TLS for the clients can configured by setting the "OCIS_MICRO_GRPC_CLIENT_TLS_MODE"
    and "OCIS_MICRO_GRPC_CLIENT_TLS_CACERT" variables.

    By default TLS is disabled.

    Co-authored-by: Martin <github@diemattels.at>

    * Unify TLS configuration for all grpc services

    All grpc service (whether they're based on reva) or go-micro use the
    same set of config vars now.

    TLS for the services can be configure by setting the OCIS_GRPC_TLS_ENABLED,
    OCIS_GRPC_TLS_CERTIFICATE and OCIS_GRPC_TLS_KEY enviroment variables.

    TLS for the clients can configured by setting the OCIS_GRPC_CLIENT_TLS_MODE
    and OCIS_MICRO_GRPC_CLIENT_TLS_CACERT variables.

    There are no individual per service config vars currently. If really
    needed, per service tls configurations can be specified via config file.

    Co-authored-by: Martin <github@diemattels.at>

    Co-authored-by: Martin <github@diemattels.at>
2022-11-03 09:20:09 +00:00
Ralf Haferkamp c6846498b5 commit 89f2f2a87f
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Thu Oct 20 12:16:57 2022 +0200

    Add documentation tags for grpc server TLS options
2022-10-25 09:52:26 +00:00
David Christofas 72ade067a0 commit 3babaf1a4d
Author: David Christofas <dchristofas@owncloud.com>
Date:   Tue Oct 4 15:55:30 2022 +0200

    remove the graph-explorer servier from ocis (#4733)
2022-10-04 13:57:31 +00:00
Christian Richter bcbd4b3617 commit b7dc410e93
Merge: da799d895 0ebfb8908
Author: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
Date:   Tue Jun 28 09:35:38 2022 +0200

    Merge pull request #3980 from owncloud/rename-extensions-to-services

    Refactor extensions to services.
2022-06-28 07:38:26 +00:00