generated from gCubeCI/Pipeline-Docker-Template
add conditional logic for choosing between legacy and jwt tokens
This commit is contained in:
parent
29ae2314e2
commit
fc991a110c
|
@ -3,6 +3,7 @@ export default { config };
|
|||
var config = {
|
||||
"pep_credentials" : "pep_credentials",
|
||||
"debug": true,
|
||||
"legacy": true,
|
||||
"accounting": {
|
||||
"scope": "authorized_scope",
|
||||
"service_name": "docker_stack_name",
|
||||
|
|
|
@ -21,7 +21,8 @@ http {
|
|||
js_import pep.js;
|
||||
|
||||
# added to bind enforce function
|
||||
js_set $authorization pep.enforce_legacy;
|
||||
# it seems it's not used anywhere
|
||||
# js_set $authorization pep.enforce_legacy;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
|
Loading…
Reference in New Issue