parent
375c963966
commit
381384b665
@ -1,14 +0,0 @@ |
||||
httplug: |
||||
plugins: |
||||
redirect: |
||||
preserve_header: true |
||||
|
||||
discovery: |
||||
client: 'auto' |
||||
|
||||
clients: |
||||
app: |
||||
http_methods_client: true |
||||
plugins: |
||||
- 'httplug.plugin.content_length' |
||||
- 'httplug.plugin.redirect' |
@ -1,38 +0,0 @@ |
||||
hwi_oauth: |
||||
connect: |
||||
account_connector: chamilo_user.security.user_provider |
||||
firewall_names: |
||||
- admin |
||||
resource_owners: |
||||
github: |
||||
type: github |
||||
client_id: '%env(GITHUB_ID)%' |
||||
client_secret: '%env(GITHUB_SECRET)%' |
||||
facebook: |
||||
type: facebook |
||||
client_id: '%env(FB_ID)%' |
||||
client_secret: '%env(FB_SECRET)%' |
||||
google: |
||||
type: google |
||||
client_id: '%env(GOOGLE_ID)%' |
||||
client_secret: '%env(GOOGLE_SECRET)%' |
||||
scope: "email profile" |
||||
my_custom_oauth2: |
||||
type: oauth2 |
||||
client_id: '<client_id>' |
||||
client_secret: '<client_secret>' |
||||
access_token_url: 'https://path.to/oauth/v2/token' |
||||
authorization_url: 'https://path.to/oauth/v2/authorize' |
||||
infos_url: 'https://path.to/api/user' |
||||
scope: user_details |
||||
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse |
||||
paths: {identifier: id, nickname: username, realname: fullname} |
||||
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: |
||||
github: githubId |
||||
google: googleId |
||||
facebook: facebookId |
||||
my_custom_provider: customId |
@ -1,11 +0,0 @@ |
||||
hwi_oauth_redirect: |
||||
resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml" |
||||
prefix: /connect |
||||
|
||||
hwi_oauth_connect: |
||||
resource: "@HWIOAuthBundle/Resources/config/routing/connect.xml" |
||||
prefix: /connect |
||||
|
||||
hwi_oauth_login: |
||||
resource: "@HWIOAuthBundle/Resources/config/routing/login.xml" |
||||
prefix: /login_ouath |
Loading…
Reference in new issue