Skip to content

Commit

Permalink
docs: add example policy for consent app signing
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Mar 8, 2017
1 parent 4722b8c commit 44d75ae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/access-control/policies/allow-client-consent-key
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"description": "Allow a client to read the keys neccessary for signing the consent response. Make sure to replace <my-client-id> with the client id you chose.",
"subjects": [
"<my-client-id>"
],
"effect": "allow",
"resources": [
"rn:hydra:keys:hydra.consent.response:private",
"rn:hydra:keys:hydra.consent.response:public",
"rn:hydra:keys:hydra.consent.challenge:public"
],
"actions": [
"get"
]
}

0 comments on commit 44d75ae

Please sign in to comment.