Ilja Neumann
06f4e2d296
Add option to disable TLS
...
Can be used to disable TLS when the ocis-proxy is behind an
TLS-Terminating reverse proxy.
env PROXY_TLS=false or cli --tls=false
2020-07-20 15:27:35 +02:00
Jörn Friedrich Dreyer
83b2b3c48c
Change: Add OIDC config flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-10 20:08:35 +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
Benedikt Kulmann
89a0f13956
Make jwt secret for reva token manager configurable.
2020-05-26 16:31:05 +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
David Christofas
eb539bc78e
implement review feedback
2020-03-24 10:42:47 +01:00
David Christofas
a718777747
route requests based on pattern or query parameters
2020-03-23 19:13:46 +01:00
A.Unger
b0e8dbba85
remove mapstructure from config directives
2020-03-18 12:12:12 +01:00
A.Unger
52bb4c0e1a
delete helpers file
2020-03-16 12:21:06 +01:00
A.Unger
e4fee19170
remove unecessary mapstruct
2020-03-16 12:09:28 +01:00
A.Unger
6c1ed02acd
arrange config.Config
2020-03-16 11:27:27 +01:00
A.Unger
8c1f12a164
add loader helper (temporary fix, move away from the helper pattern)
2020-03-13 10:52:22 +01:00
Jörn Friedrich Dreyer
2aba428eb1
add apachevhost option, fix logging defaults
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-03-06 16:47:26 +01:00
A.Unger
1f04e6857a
update config
2020-03-04 21:13:07 +01:00
A.Unger
062cb6ed36
add policy to config struct
2020-03-04 21:13:07 +01:00
A.Unger
01a805c89d
rename location -> backend
2020-02-26 09:36:21 +01:00
A.Unger
23f977f28e
added json tag on routes
2020-02-24 14:16:54 +01:00
A.Unger
36aa719b35
added config options
2020-02-24 13:21:02 +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