Ishank Arora
08c51ee8c8
Use reva's Authenticate method instead of spawning token managers
2021-09-21 15:50:19 +02:00
Willy Kloucek and Jörn Friedrich Dreyer
a0dce56480
use cookie to enforce routing for regex and claim selector
2021-07-23 08:38:55 +00:00
Jörn Friedrich Dreyer
1f3e963c29
use claims map instead of struct
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-22 09:20:36 +00:00
Ilja Neumann and Jörn Friedrich Dreyer
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
A.Unger
2910e88ba5
ugly working draft
2020-12-02 15:31:17 +01:00
Benedikt Kulmann
a410d40166
Make userinfo cache configurable
2020-11-18 11:15:51 +01:00
Benedikt Kulmann
f1082ca033
Fix comments
2020-11-18 08:48:38 +01:00
Benedikt Kulmann
a5c09453b9
First implementation for userinfo cache without config
2020-11-17 17:10:14 +01:00
Florian Schade and Benedikt Kulmann
f8aa1a5e08
refactor middlewares and reduce technical complexity
...
restructure server command and remove cfg.OIDC.Issuer switch, oidc middleware detects now if it should used or not
fix #761
2020-11-17 11:32:12 +01:00
Jörn Friedrich Dreyer
d75d626695
add enable basic auth option
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
60c319faed
Add autoprovision accounts flag
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-10-05 11:25:02 +02:00
A.Unger
d8ea10ccd0
proxy working
2020-09-18 15:18:41 +02:00
A.Unger
91bd83938b
update proxy import paths and module name
2020-09-18 12:48:35 +02:00
A.Unger
598ca6c405
Add 'proxy/' from commit '201b9a652685cdfb72ba81c7e7b00ba1c60a0e35'
...
git-subtree-dir: proxy
git-subtree-mainline: 571d96e856
git-subtree-split: 201b9a6526
2020-09-18 12:47:26 +02:00