aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorDan <djr2468@gmail.com>2023-04-03 21:30:28 +0100
committerDan <djr2468@gmail.com>2023-04-03 21:30:28 +0100
commita16da3bef30b26cbf813526dee817538b99d9d6e (patch)
treebd89fcae5c41ac74c2cb5f0840159cefa0626ed5 /src/main/java/org/traccar/config
parent2d92fa2473b2317f01b904a8f1afd83e7884d7c8 (diff)
downloadtrackermap-server-a16da3bef30b26cbf813526dee817538b99d9d6e.tar.gz
trackermap-server-a16da3bef30b26cbf813526dee817538b99d9d6e.tar.bz2
trackermap-server-a16da3bef30b26cbf813526dee817538b99d9d6e.zip
Support providers who do not provide the groups scope
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 707e9e815..3ff423ad1 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -665,12 +665,12 @@ public final class Keys {
/**
* OpenID Connect group to grant admin access.
- * Defaults to admins.
+ * If this is not provided, no groups will be granted admin access.
+ * This option will only work if your OpenID provider supports the groups scope.
*/
public static final ConfigKey<String> OPENID_ADMINGROUP = new StringConfigKey(
"openid.adminGroup",
- List.of(KeyType.CONFIG),
- "admins");
+ List.of(KeyType.CONFIG));
/**
* If no data is reported by a device for the given amount of time, status changes from online to unknown. Value is