Skip to content

Commit

Permalink
updated example to 7.21
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlukas committed Sep 25, 2024
1 parent ddf1dde commit aba3a5a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions snippets/keycloak-run-sso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Tested with versions:

* `7.20.3-ee` of Camunda Run
* `7.20.1` of Camunda Keycloak Plugin
* `7.21.2-ee` of Camunda Run
* `7.21.6` of Camunda Keycloak Plugin

## What is the purpose?

Expand Down Expand Up @@ -98,6 +98,16 @@ spring.security.oauth2:
user-name-attribute: email
```
In 7.21, we have to disable the Camunda Run own cors configuration, by default this setting is `true`:

```yaml
camunda:
bpm:
run:
cors:
enabled: false
```

Adjust the details like `keycloak.host`, `keycloak.realm`, `keycloak.client-id`, `keycloak.client-secret` and `plugin.identity.keycloak.administratorGroupName` accordingly.

Also, make sure the user id configuration matches. The config above uses the email as user id.
Expand Down
4 changes: 2 additions & 2 deletions snippets/keycloak-run-sso/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<version.spring-boot>3.1.1</version.spring-boot>
<version.camunda-bpm>7.20.0</version.camunda-bpm>
<version.spring-boot>3.2.6</version.spring-boot>
<version.camunda-bpm>7.21.2-ee</version.camunda-bpm>

</properties>
<dependencyManagement>
Expand Down

0 comments on commit aba3a5a

Please sign in to comment.