github.com/avenga/couper@v1.12.2/server/testdata/oauth2/23_couper.hcl (about) 1 server { 2 api { 3 endpoint "/" { 4 proxy { 5 url = "https://example.com/" 6 7 backend { 8 oauth2 { 9 token_endpoint = "{{.asOrigin}}/token" 10 grant_type = "urn:ietf:params:oauth:grant-type:jwt-bearer" 11 assertion = request.headers.x-assertion 12 } 13 } 14 } 15 } 16 } 17 }