etheroute-lon01: send more identity headers
This commit is contained in:
parent
6317f7ffba
commit
11c4b77eab
1 changed files with 6 additions and 1 deletions
|
@ -186,6 +186,11 @@ in {
|
||||||
login_hint = "lukegb@lukegb.com";
|
login_hint = "lukegb@lukegb.com";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
jwt_claims_headers = [
|
||||||
|
"email"
|
||||||
|
"user"
|
||||||
|
];
|
||||||
|
|
||||||
databroker_storage_type = "redis";
|
databroker_storage_type = "redis";
|
||||||
databroker_storage_connection_string = "redis://127.0.0.1:6379/15";
|
databroker_storage_connection_string = "redis://127.0.0.1:6379/15";
|
||||||
|
|
||||||
|
@ -195,12 +200,12 @@ in {
|
||||||
policy = let
|
policy = let
|
||||||
baseConfig = {
|
baseConfig = {
|
||||||
allowed_domains = [ "lukegb.com" ];
|
allowed_domains = [ "lukegb.com" ];
|
||||||
|
pass_identity_headers = true;
|
||||||
};
|
};
|
||||||
serviceOnHost = server: hostName: baseConfig // {
|
serviceOnHost = server: hostName: baseConfig // {
|
||||||
from = "https://${hostName}";
|
from = "https://${hostName}";
|
||||||
to = "http://${server}";
|
to = "http://${server}";
|
||||||
preserve_host_header = true;
|
preserve_host_header = true;
|
||||||
pass_identity_headers = true;
|
|
||||||
};
|
};
|
||||||
hostToServices = {
|
hostToServices = {
|
||||||
clouvider-fra01 = [
|
clouvider-fra01 = [
|
||||||
|
|
Loading…
Reference in a new issue