Skip to content

Commit d12205a

Browse files
author
kaleidox
committed
use array for scope
1 parent ab10fb0 commit d12205a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/main/java/de/kaleidox/workbench/model/config/OAuth2Info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public record OAuth2Info(
44
String name,
55
String clientId,
66
String secret,
7-
String scope,
7+
String[] scope,
88
String redirectUrl,
99
String authorizationUrl,
1010
String tokenUrl,

src/main/resources/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"name": "",
1010
"clientId": "",
1111
"secret": "",
12-
"scope": "",
12+
"scope": [
13+
""
14+
],
1315
"redirectUrl": "",
1416
"authorizationUrl": "",
1517
"tokenUrl": "",

0 commit comments

Comments
 (0)