Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate why import from json fails #390

Closed
aeneasr opened this issue Mar 8, 2017 · 1 comment
Closed

investigate why import from json fails #390

aeneasr opened this issue Mar 8, 2017 · 1 comment

Comments

@aeneasr
Copy link
Member

aeneasr commented Mar 8, 2017

This command works as expected:

hydra clients create \
    --id ory.cloud-platform.sites-app \
    --is-public \
    -r code,id_token \
    -g authorization_code,refresh_token \
    -a offline,openid,ory.sites,force-consent \
    -c https://sites-app/callback

But the policy does not:

{
  "id": "ory.cloud-platform.sites-app",
  "owner": "aeneas@ory.am",
  "scope": "offline openid ory.sites force-consent",
  "redirect_uris": [
    "https://sites-app/callback"
  ],
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "public": true,
  "response:types": [
    "token",
    "id_token",
    "code"
  ]
}
@aeneasr
Copy link
Member Author

aeneasr commented Mar 10, 2017

nvm

@aeneasr aeneasr closed this as completed Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant