Commit Graph

9 Commits

Author SHA1 Message Date
Ishank Arora
7ca9e12116 Public share SQL driver config 2021-04-14 12:48:35 +02:00
Ishank Arora
1b0b14512c Read UID and GID from the opaque object for CS3 proxy backend 2021-04-13 11:52:22 +02:00
A.Unger
f23cf92153 interpret user from the IDP 2021-04-13 10:48:06 +02:00
A.Unger
ed99fb8292 assign user role if user exists but there are no role assignments 2021-04-09 14:15:47 +02:00
A.Unger
a1d5e34f41 update proxy to use go-micro v3 2021-02-18 08:01:53 +00:00
Ilja Neumann
cd2eb0e39b Accounts UserBackend tests 2020-12-22 17:27:55 +01:00
Ilja Neumann
0d990898b8 Fix gid was overwritten by roles 2020-12-22 17:27:55 +01:00
Ilja Neumann
1b29e56d12 account_resolver_test.go 2020-12-22 16:16:57 +01:00
Ilja Neumann
92a1bc8fb6 Make it possible to use CS3 as accounts backend instead of account-service
Configureable via:
PROXY_ACCOUNT_BACKEND_TYPE=cs3
PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)

By using a backend which implements the CS3 user-api (currently provided by reva/storage) it is possible to bypass
the ocis-accounts service and for example use ldap directly.

Hides user and auth related communication behind a facade (user/backend) to minimize logic-duplication across middlewares.
Allows to switich the account backend from accounts to cs3.

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-11 18:34:43 +01:00