Skip to content

Commit 59b2a86

Browse files
committed
oidc: improve example configuration
1 parent 29caec8 commit 59b2a86

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

server/plugins/oidc/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ concord-server {
2323
}
2424
```
2525

26+
For running in development mode (i.e. on `localhost`), callback URLs must be
27+
in the form of
28+
29+
```
30+
http://localhost:8001/api/service/oidc/callback?client_name=oidc
31+
```
32+
33+
Note the `client_name=oidc` query parameter, it is required by the plugin and
34+
must be present in the provider's configuration.
35+
36+
The plugin uses the following scopes: `openid`, `profile`, `email`, `groups`.
37+
Which may or may not be enabled by default in the provider's configuration.
38+
39+
Okta, for example, does not provide the `groups` scope by default. You can
40+
add it in the "Security" -> "API" -> "Authorization Servers" -> your_server ->
41+
"Scope" section.
42+
2643
### Interactive Login
2744

2845
Configure the Concord Console to use custom logout/login URLs:

0 commit comments

Comments
 (0)