github.com/avenga/couper@v1.12.2/server/testdata/oauth2/24_couper.hcl (about)

     1  server "client" {
     2    api {
     3      endpoint "/cb" {
     4        access_control = ["ac"]
     5        response {
     6          json_body = request.context.ac
     7        }
     8      }
     9    }
    10  }
    11  
    12  definitions {
    13    oidc "ac" {
    14      configuration_url = "{{.asOrigin}}/without/userinfo/.well-known/openid-configuration"
    15      configuration_ttl = "1h"
    16      client_id = "foo"
    17      client_secret = "etbinbp4in"
    18      redirect_uri = "http://www.example.com/cb" # value is not checked
    19      verifier_value = request.cookies.nnc
    20    }
    21  }