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

     1  server {}
     2  definitions {
     3    backend "b" {
     4      oauth2 {
     5        grant_type = "client_credentials"
     6        client_id = "cli"
     7        client_secret = "cls"
     8        token_endpoint = "https://as/token"
     9        backend {
    10          origin = "https://as"
    11        }
    12        backend = "BE"
    13      }
    14    }
    15    backend "BE" {
    16    }
    17  }