-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
36 lines (34 loc) · 1.08 KB
/
Copy pathconfig.php
File metadata and controls
36 lines (34 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* SocialConnect project
* @author: Patsura Dmitry https://github.com/ovr <talk@dmtry.me>
*/
return [
'redirectUri' => 'http://localhost:8000/auth/cb/${provider}/',
'provider' => [
/*
// keycloak
'keycloak' => [
// 'name' => 'abc', // override for multiple providers based on keycloak
'baseUrl' => 'https://keycloak_server/auth',
'realm' => 'your_master',
'applicationId' => 'your_client',
'applicationSecret' => 'your_client_uuid4_secret',
'scope' => [
'email', 'profile' // openid will be always added
],
],
*/
// keycloak
'keycloak' => [
//'name' => 'bcgovidir', // override for multiple providers based on keycloak
'baseUrl' => '**auth-server-url**',
'realm' => '**realm**',
'applicationId' => '**resource**',
'applicationSecret' => '**secret**',
'scope' => [
'email', 'profile' // openid will be always added
],
],
]
];