github.com/avenga/couper@v1.12.2/server/testdata/multi/backends/errors/anonymous_backend_oauth2.hcl (about)

     1  server {
     2    endpoint "/" {
     3      proxy {
     4        backend {
     5          origin = "https://example.com"
     6          oauth2 {
     7            grant_type = "client_credentials"
     8            client_id = "cli"
     9            client_secret = "cls"
    10            token_endpoint = "https://as/token"
    11            backend {
    12              origin = "https://as"
    13            }
    14            backend = "BE"
    15          }
    16        }
    17      }
    18    }
    19    backend "BE" {
    20    }
    21  }