Commit Graph

21 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
cf448f0124 initial signing-key middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 12:53:22 +02:00
Jörn Friedrich Dreyer
94ebbc0933 send autocreate home request to reva gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-25 10:47:28 +02:00
Jörn Friedrich Dreyer
e7a3ed3fa3 make tests use mock from ocis-accounts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:33:16 +02:00
Jörn Friedrich Dreyer
6246fbf685 update dependencies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 17:27:17 +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
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
A.Unger
a8c01a4da8 use latest accounts, get rid of replace, fix api 2020-05-11 12:52:21 +02:00
A.Unger
65b1926d70 add replace statements 2020-05-06 09:29:46 +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
e31e00815a Add Flagset Extractor, align build flags 2020-04-20 21:25:21 +02:00
Michael Barz
72c6749099 update ocis-pkg to 2.2.0 2020-03-31 10:50:54 +02: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
Ilja Neumann
b20b05806e Integrate oid-middleware
This feature is required for user-based routing.
2020-03-26 09:44:51 +01:00
Ilja Neumann
6e33472b40 Make TLS-Certificate configurable
Currently the proxy generates certificates on every start for dev purposes. This commit adds an option to make this behaviour configurable.
This also removes the dependency on konnectd`s crypto code and copies it instead, as this library is a first version which is not meant for usage by other services.

A proper cert-generation lib should be added to ocis-pkg instead. Then this code can be refactored to use it.
2020-03-25 09:44:18 +01:00
A.Unger
b1973f379a tidy deps 2020-03-13 10:51:28 +01:00
A.Unger
b2a76bfe47 update ocis-pkg -> v2.0.2 2020-03-04 21:13:07 +01:00
A.Unger
8ba2488fb3 update ocis-pkg 2020-03-04 21:13:07 +01:00
A.Unger
6b51e70ddc use ocis-pkg logger 2020-02-24 13:37:39 +01:00
Jörn Friedrich Dreyer
59bd9a93d2 Initial Commit
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-23 16:13:39 +01:00