jq is useful to slice, filter, map and transform structured json data.
brew install jq
This allows client to use https://localhost or https://0.0.0.0
keytool -genkey -alias profiler -keyalg RSA -keysize 1024 -validity 1365 -keypass password -keystore wiremock.jks -storepass password -ext SAN=dns:localhost,ip:0.0.0.0
As a result there is a private/public key pair in wiremock.jks keystore
To access the api in this example, first we have to procure the Auth Token (using one of the OAuth2 Flows) containing a scope "canGreet".
Assumption is that the Authorization Server supports OpenId Connect 1.0 specifications.
Hope you will find answers to these questions in this example-based article.