Skip to content

Commit 6334d39

Browse files
committed
Read scopes from bundled connection profile.
1 parent f0747b9 commit 6334d39

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

hub/src/main/java/cloud/katta/protocols/hub/serializer/HubConfigDtoDeserializer.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import java.util.ArrayList;
1010
import java.util.Arrays;
11-
import java.util.Collections;
1211
import java.util.List;
1312

1413
import cloud.katta.client.model.ConfigDto;
@@ -39,8 +38,6 @@ public <L> List<L> listForKey(final String key) {
3938
case PROPERTIES_KEY:
4039
final List<String> properties = new ArrayList<>(super.listForKey(key));
4140
return (List<L>) properties;
42-
case SCOPES_KEY:
43-
return (List<L>) Collections.singletonList("openid");
4441
}
4542
return super.listForKey(key);
4643
}
@@ -65,8 +62,6 @@ public List<String> keys() {
6562
OAUTH_CLIENT_ID_KEY,
6663
OAUTH_AUTHORIZATION_URL_KEY,
6764
OAUTH_TOKEN_URL_KEY,
68-
// OAuth Scopes
69-
SCOPES_KEY,
7065
PROPERTIES_KEY
7166
);
7267
}

0 commit comments

Comments
 (0)