mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-23 01:57:06 +00:00
fix(oauth): add support for client_credentials flow
This commit is contained in:
parent
35ddea0c57
commit
ab5b933fb3
4 changed files with 31 additions and 10 deletions
|
|
@ -30,7 +30,7 @@ const configuration: Configuration = {
|
|||
if(account === undefined) {
|
||||
return undefined
|
||||
}
|
||||
if (account.is_admin) {
|
||||
if (account.is_admin ) {
|
||||
return {
|
||||
accountId: id,
|
||||
claims: () => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue