Skip to content

Instantly share code, notes, and snippets.

@adnams
Created January 12, 2015 16:58
Show Gist options
  • Save adnams/033d40f6c9587d60f1ad to your computer and use it in GitHub Desktop.
Save adnams/033d40f6c9587d60f1ad to your computer and use it in GitHub Desktop.
HWIOAuth config update for Sylius v0.12.0 standard to fix default null options
hwi_oauth:
firewall_name: main
resource_owners:
amazon:
type: amazon
client_id: %sylius.oauth.amazon.clientid%
client_secret: %sylius.oauth.amazon.clientsecret%
facebook:
type: facebook
client_id: %sylius.oauth.facebook.clientid%
client_secret: %sylius.oauth.facebook.clientsecret%
scope: "email"
options:
display: popup
google:
type: google
client_id: %sylius.oauth.google.clientid%
client_secret: %sylius.oauth.google.clientsecret%
scope: "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile"
options:
access_type: offline
approval_prompt: force
display: popup
login_hint: email address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment