Skip to content

Instantly share code, notes, and snippets.

@smithmilner
Created October 7, 2014 23:35
Show Gist options
  • Select an option

  • Save smithmilner/871941b0a7918d752f4b to your computer and use it in GitHub Desktop.

Select an option

Save smithmilner/871941b0a7918d752f4b to your computer and use it in GitHub Desktop.
HWIOAuthBundle EVE Online resource owner
hwi_oauth:
firewall_name: main
resource_owners:
eve_online:
type: oauth2
client_id: %eve_online_sso.client_id%
client_secret: %eve_online_sso.client_secret%
access_token_url: %eve_online_sso.domain%/oauth/token
authorization_url: %eve_online_sso.domain%/oauth/authorize
infos_url: %eve_online_sso.domain%/oauth/verify
scope: ""
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse
paths:
identifier: CharacterID
nickname: CharacterName
realname: CharacterName
fosub:
# try 30 times to check if a username is available (foo, foo1, foo2 etc)
username_iterations: 30
# mapping between resource owners (see below) and properties
properties:
eve_online: characterId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment