Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update oidc settings

Oliver Güntherc07e9ea56bbf
diff --git a/docs/installation-and-operations/misc/custom-openid-connect-providers/README.md b/docs/installation-and-operations/misc/custom-openid-connect-providers/README.md
index 7fdd69e64d0..36875e371fe 100644
--- a/docs/installation-and-operations/misc/custom-openid-connect-providers/README.md
+++ b/docs/installation-and-operations/misc/custom-openid-connect-providers/README.md
@@ -29,7 +29,7 @@ Next define the settings for your custom provider. In this example we are config
options = {
"display_name"=>"Okta",
"host"=>"mypersonal.okta.com",
- "identifier"=>"<identifier>",
+ "identifier"=>"<identifier or client id>",
"secret"=>"<secret>",
"authorization_endpoint" => "/oauth2/v1/authorize",
"token_endpoint" => "/oauth2/v1/token",
@@ -37,6 +37,21 @@ options = {
}
```
+For Keycloak, settings similar to the following would be used:
+
+```ruby
+options = {
+ "display_name"=>"Keycloak",
+ "host"=>"keycloak.example.com",
+ "identifier"=>"<client id>",
+ "secret"=>"<client secret>",
+ "authorization_endpoint" => "/auth/realms/REALM/protocol/openid-connect/auth",
+ "token_endpoint" => "/auth/realms/REALM/protocol/openid-connect/token",
+ "userinfo_endpoint" => "/auth/realms/REALM/protocol/openid-connect/userinfo"
+}
+```
+
+
Just type this into the console and confirm by pressing *Enter*.
This assumes that you have configured your application in the respective provider correctly
@@ -58,6 +73,8 @@ Setting.plugin_openproject_openid_connect = Hash(Setting.plugin_openproject_open
})
```
+Replace "okta" with any other value such as "keycloak". It is used in some URLs so keep it a plain lowercase string.
+
Just copy these lines into the console and again confirm using *Enter*.
After you are done you can leave the console by entering `exit`.