github.com/avenga/couper@v1.12.2/server/testdata/oauth2/10_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 definitions { 12 oidc "ac" { 13 configuration_url = "{{.asOrigin}}/.well-known/openid-configuration" 14 configuration_ttl = "1h" 15 client_id = "foo" 16 client_secret = "etbinbp4in" 17 redirect_uri = "http://localhost:8080/cb" # value is not checked 18 scope = "profile email" 19 verifier_method = "nonce" 20 verifier_value = request.cookies.nnc 21 error_handler { 22 response { 23 status = 418 24 } 25 } 26 } 27 }