mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
Added missing issuer in config.
This commit is contained in:
parent
5606eab93f
commit
0edc20d438
1 changed files with 7 additions and 6 deletions
|
@ -652,20 +652,21 @@
|
||||||
*/
|
*/
|
||||||
"lowerCasePadIds": false,
|
"lowerCasePadIds": false,
|
||||||
"sso": {
|
"sso": {
|
||||||
|
"issuer": "${SSO_ISSUER:http://localhost:9001}",
|
||||||
"clients": [
|
"clients": [
|
||||||
{
|
{
|
||||||
"client_id": "admin_client",
|
"client_id": "${ADMIN_CLIENT:admin_client}",
|
||||||
"client_secret": "admin",
|
"client_secret": "${ADMIN_SECRET:admin}",
|
||||||
"grant_types": ["authorization_code"],
|
"grant_types": ["authorization_code"],
|
||||||
"response_types": ["code"],
|
"response_types": ["code"],
|
||||||
"redirect_uris": ["http://localhost:9001/admin/"]
|
"redirect_uris": ["${ADMIN_REDIRECT:http://localhost:9001/admin/}", "https://oauth.pstmn.io/v1/callback"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"client_id": "user_client",
|
"client_id": "${USER_CLIENT:user_client}",
|
||||||
"client_secret": "user",
|
"client_secret": "${USER_SECRET:user}",
|
||||||
"grant_types": ["authorization_code"],
|
"grant_types": ["authorization_code"],
|
||||||
"response_types": ["code"],
|
"response_types": ["code"],
|
||||||
"redirect_uris": ["http://localhost:9001/"]
|
"redirect_uris": ["${USER_REDIRECT:http://localhost:9001/}"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue