1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| hydra clients create --skip-tls-verify \
--id consent-app \
--secret consent-secret \
--name "Consent App Client" \
--grant-types client_credentials \
--response-types token \
--allowed-scopes hydra.consent
hydra policies create --skip-tls-verify \
--actions get,accept,reject \
--description "Allow consent-app to manage OAuth2 consent requests."\
--allow \
--id consent-app-policy \
--resources "rn:hydraauth2:consent:requests:<.*>" \
--subjects consent-app
|