View http-client.private.env.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dev": { | |
"SSLConfiguration": { | |
"clientCertificate": "dev.pem", | |
"clientCertificateKey": "dev.key.pem", | |
"hasCertificatePassphrase": true | |
} | |
} |
View service-request-with-token.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://{{ service-host }}/hello-world | |
Authorization: Bearer {{ access_token }} |
View authenticate-with-variable.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST https://{{ oauth-host }}/oauth/token?grant_type=client_credentials | |
Content-Type: application/json |
View http-client.env.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dev": { | |
"oauth-host": "dev-oauth.example.com" | |
} |
View copy-access-token.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> {% | |
var access_token = response.body['access_token'] | |
client.global.set("access_token", access_token) | |
%} |
View auth-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsInZlciI6 ...", | |
"token_type": "bearer", | |
"expires_in": 399, | |
"asc": "generic:anonym", | |
"exp": 1681292845 | |
... | |
} |
View authenticate.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST https://dev-oauth.example.com/oauth/token?grant_type=client_credentials | |
Content-Type: application/json |
View ssh-filter.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# License: WTFPL | |
# UPPERCASE space-separated country codes to ACCEPT | |
ALLOW_COUNTRIES="DE" | |
LOGDENY_FACILITY="authpriv.notice" | |
if [ $# -ne 1 ]; then | |
echo "Usage: `basename $0` " 1>&2 | |
exit 0 # return true in case of config issue |
View gradle.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pact { | |
broker { | |
pactBrokerUrl = "http://localhost:9292" | |
} | |
} |
View gradle.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pact { | |
publish { | |
// empty, but needs to be there | |
} | |
broker { | |
pactBrokerUrl = "http://localhost:9292" | |
} |
NewerOlder