github.com/avenga/couper@v1.12.2/server/testdata/integration/backends/07_couper.hcl (about)

     1  server {
     2    api {
     3      endpoint "/**" {
     4        proxy {
     5          backend = "rs"
     6        }
     7      }
     8    }
     9  }
    10  
    11  definitions {
    12    backend "rs" {
    13      origin = "{{ .origin }}"
    14  
    15      oauth2 {
    16        grant_type = "client_credentials"
    17        client_id = "cli"
    18        client_secret = "cls"
    19        token_endpoint = "{{ .token_endpoint }}/token"
    20        retries = {{ .retries }}
    21      }
    22    }
    23  }