Jörn Friedrich Dreyer
09ecfd08ee
cache account
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-17 17:26:33 +02:00
Jörn Friedrich Dreyer
ac2694251b
update to new accounts api
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-16 18:17:32 +02:00
Alex Unger
0e43f1d858
Merge pull request #46 from owncloud/fix/proxy-header
...
Fix user claims on x-access-token Reva header
2020-06-12 12:10:26 +02:00
A.Unger
afb2291eb9
Fix user claims on x-access-token Reva header; initialize cache size
2020-06-12 12:00:21 +02:00
Alex Unger
74ec961ecc
Automated changelog update [skip ci]
2020-06-08 07:24:39 +00:00
Alex Unger
9142f91d53
Merge pull request #43 from owncloud/fix-middlware-cache-hit
2020-06-08 09:18:45 +02:00
Benedikt Kulmann
2e2e6c3612
Add changelog entry
2020-06-03 15:51:28 +02:00
Benedikt Kulmann
fc7b6c1a81
Fix that response is ignored
...
The request to the accounts service is written to the cache, but the
retrieved uuid was not used, because it was overwritten by the value
from the (non-existant) cache entry.
2020-06-03 15:45:23 +02:00
Ilja Neumann
bfe4790ab8
Automated changelog update [skip ci]
2020-05-29 09:20:45 +00:00
Ilja Neumann
d7c0728e00
Disable OIDC Keep-Alive and instantiate client once
...
This should reduce file-descriptor leaks.
2020-05-29 11:15:36 +02:00
Ilja Neumann
f33b6781d6
Automated changelog update [skip ci]
2020-05-28 14:10:08 +00:00
Ilja Neumann
6b76c2783e
Re-enable selector-test
2020-05-28 16:05:10 +02:00
Benedikt Kulmann
ea254d6036
Automated changelog update [skip ci]
2020-05-26 16:03:32 +00:00
Benedikt Kulmann
7e51935047
Merge pull request #41 from owncloud/fix-token-in-request
...
Fix token in request
2020-05-26 17:59:09 +02:00
Benedikt Kulmann
e1847b5c4a
Fix flag description
2020-05-26 17:41:30 +02:00
Benedikt Kulmann
d313f223c2
Add changelog items
2020-05-26 16:35:54 +02:00
Benedikt Kulmann
89a0f13956
Make jwt secret for reva token manager configurable.
2020-05-26 16:31:05 +02:00
Benedikt Kulmann
87ff5f5d43
Set minted token on request header instead of response writer header.
2020-05-26 16:10:37 +02:00
Alex Unger
d7eab50216
Merge pull request #36 from owncloud/feature/accounts-uuid-middleware
2020-05-22 13:00:58 +02:00
A.Unger
85c4232901
fix linters
2020-05-22 12:55:42 +02:00
A.Unger
97bf53cb4a
use golangci-lint as linter
2020-05-22 12:33:20 +02:00
A.Unger
23c91ca4ce
update go-micro => 2.6, update ocis-accounts => master
2020-05-22 12:30:37 +02:00
Ilja Neumann
ee82f69390
Create JWT from claims
2020-05-13 13:42:07 +02:00
Benedikt Kulmann
c47dc845b1
Use email claim for account GetRequest
2020-05-11 13:59:18 +02:00
A.Unger
a8c01a4da8
use latest accounts, get rid of replace, fix api
2020-05-11 12:52:21 +02:00
A.Unger
b74496bbf4
add alice and maintain a set order on the middlewares. Write uuid as a temporary response header
2020-05-06 14:30:41 +02:00
A.Unger
65b1926d70
add replace statements
2020-05-06 09:29:46 +02:00
A.Unger
c6da8624a5
add uuid to context
2020-05-05 18:29:32 +02:00
A.Unger
1d735adac6
added eviction logiuc
2020-05-05 17:22:23 +02:00
A.Unger
c97ef8a464
add todo comment
2020-05-04 14:11:39 +02:00
A.Unger
0dffde2e6d
added a generic cache
2020-05-04 14:08:19 +02:00
A.Unger
ad6a306a6f
add trailing comma
2020-05-04 09:24:07 +02:00
A.Unger
d703c87dd2
cleanup dependencies
2020-04-30 13:56:11 +02:00
A.Unger
a0ed0b2e90
refactor middleware code and provide an example flow to get UUID
2020-04-30 13:39:17 +02:00
Michael Barz
f2d1c0a1be
Automated changelog update [skip ci]
2020-04-22 15:28:49 +00:00
Michael Barz
0f0d44c3ec
Merge pull request #34 from owncloud/add-flaex
...
Add Flagset Extractor, align build flags
2020-04-22 17:24:20 +02:00
Michael Barz
e31e00815a
Add Flagset Extractor, align build flags
2020-04-20 21:25:21 +02:00
Michael Barz
638f05a9c2
Automated changelog update [skip ci]
2020-04-07 20:52:34 +00:00
Michael Barz
def8c7bdcb
Add coverage badge
2020-04-07 22:48:12 +02:00
Michael Barz
a4b63c116e
Remove gitter chat from Readme.md
2020-04-07 22:36:26 +02:00
Ilja Neumann
617628b1a6
Integration test
2020-04-06 09:52:37 +02:00
Michael Barz
dbca195323
Automated changelog update [skip ci]
2020-03-31 09:01:01 +00:00
Michael Barz
12d1025617
Merge pull request #30 from owncloud/update-pkg
...
update ocis-pkg to 2.2.0
2020-03-31 10:56:53 +02:00
Michael Barz
72c6749099
update ocis-pkg to 2.2.0
2020-03-31 10:50:54 +02:00
Michael Barz
6ab60e7cc1
Automated changelog update [skip ci]
2020-03-30 11:04:34 +00:00
Michael Barz
b805f3840f
Prepare 0.3.0 Release
2020-03-30 12:58:32 +02:00
Ilja Neumann
6ce95072a6
Automated changelog update [skip ci]
2020-03-27 10:01:36 +00:00
Ilja Neumann
976c13cf62
Redirect http-requests to https ( #29 )
2020-03-27 10:57:32 +01:00
Ilja Neumann
e3bcc0d5aa
Automated changelog update [skip ci]
2020-03-27 05:41:03 +00:00
Ilja Neumann
c523942899
User based routing
...
Implements a configurable "migration" policy-selector which reads the preferred_username attribute from
the oidc claims and checks if the uid exists in the ocis-accounts service.
A configurable policy-name can be selected based on the outcome of the check.
2020-03-27 06:36:17 +01:00