Skip to content

Commit

Permalink
Merge pull request #14 from okazy/fix/enable-authorization-code-only
Browse files Browse the repository at this point in the history
Grant を authorization code / refresh token grant に制限
  • Loading branch information
Kiyotaka Oku authored Jul 7, 2020
2 parents 2602907 + 8e7b366 commit caa018f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Resource/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ trikoder_oauth2:
private_key_passphrase: null
encryption_key: '%env(ECCUBE_OAUTH2_ENCRYPTION_KEY)%'

# Whether to enable the client credentials grant
enable_client_credentials_grant: false

# Whether to enable the password grant
enable_password_grant: false

# Whether to enable the refresh token grant
enable_refresh_token_grant: true

# Whether to enable the authorization code grant
enable_auth_code_grant: true

# Whether to enable the implicit grant
enable_implicit_grant: false

resource_server:
public_key: '%env(ECCUBE_OAUTH2_RESOURCE_SERVER_PUBLIC_KEY)%'

Expand Down

0 comments on commit caa018f

Please sign in to comment.