github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/assets/auth/auth.json (about) 1 { 2 "name" : "local", 3 "oauth_endpoints" : { 4 "token" : { 5 "preserve_host" : false, 6 "listen_path" : "/auth/token", 7 "upstreams" : { 8 "balancing": "roundrobin", 9 "targets": [ 10 {"target": "http://localhost:9088/token"} 11 ] 12 }, 13 "strip_path" : true, 14 "append_path" : false, 15 "methods" : [ 16 "GET", 17 "POST" 18 ] 19 } 20 }, 21 "token_strategy" : { 22 "name" : "jwt", 23 "settings" : [ 24 {"alg": "HS256", "key" : "secret"} 25 ] 26 } 27 }