parent
4572bcf79d
commit
a67c7c6442
@ -1,38 +1,38 @@ |
|||||||
hwi_oauth: |
hwi_oauth: |
||||||
connect: |
connect: |
||||||
account_connector: chamilo_user.security.user_provider |
account_connector: chamilo_user.security.user_provider |
||||||
firewall_names: |
firewall_names: |
||||||
- admin |
- admin |
||||||
resource_owners: |
resource_owners: |
||||||
github: |
github: |
||||||
type: github |
type: github |
||||||
client_id: '%env(GITHUB_ID)%' |
client_id: '%env(GITHUB_ID)%' |
||||||
client_secret: '%env(GITHUB_SECRET)%' |
client_secret: '%env(GITHUB_SECRET)%' |
||||||
facebook: |
facebook: |
||||||
type: facebook |
type: facebook |
||||||
client_id: '%env(FB_ID)%' |
client_id: '%env(FB_ID)%' |
||||||
client_secret: '%env(FB_SECRET)%' |
client_secret: '%env(FB_SECRET)%' |
||||||
google: |
google: |
||||||
type: google |
type: google |
||||||
client_id: '%env(GOOGLE_ID)%' |
client_id: '%env(GOOGLE_ID)%' |
||||||
client_secret: '%env(GOOGLE_SECRET)%' |
client_secret: '%env(GOOGLE_SECRET)%' |
||||||
scope: "email profile" |
scope: "email profile" |
||||||
my_custom_oauth2: |
my_custom_oauth2: |
||||||
type: oauth2 |
type: oauth2 |
||||||
client_id: '<client_id>' |
client_id: '<client_id>' |
||||||
client_secret: '<client_secret>' |
client_secret: '<client_secret>' |
||||||
access_token_url: 'https://path.to/oauth/v2/token' |
access_token_url: 'https://path.to/oauth/v2/token' |
||||||
authorization_url: 'https://path.to/oauth/v2/authorize' |
authorization_url: 'https://path.to/oauth/v2/authorize' |
||||||
infos_url: 'https://path.to/api/user' |
infos_url: 'https://path.to/api/user' |
||||||
scope: user_details |
scope: user_details |
||||||
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse |
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse |
||||||
paths: {identifier: id, nickname: username, realname: fullname} |
paths: {identifier: id, nickname: username, realname: fullname} |
||||||
fosub: |
fosub: |
||||||
# try 30 times to check if a username is available (foo, foo1, foo2 etc) |
# try 30 times to check if a username is available (foo, foo1, foo2 etc) |
||||||
username_iterations: 30 |
username_iterations: 30 |
||||||
# mapping between resource owners (see below) and properties |
# mapping between resource owners (see below) and properties |
||||||
properties: |
properties: |
||||||
github: githubId |
github: githubId |
||||||
google: googleId |
google: googleId |
||||||
facebook: facebookId |
facebook: facebookId |
||||||
my_custom_provider: customId |
my_custom_provider: customId |
||||||
|
Loading…
Reference in new issue