This project is a custom tasklist application that integrates with Camunda Tasklist via OpenID Connect (OIDC) for authentication.
- Java 11 or higher installed
- Maven installed
- Spring Boot compatible IDE (e.g., IntelliJ IDEA)
git clone https://github.com/cdonuut/custom-tasklist-oidc-integration.git
cd custom-tasklist-oidc-integration
Make sure you have Maven installed, then install the dependencies by running:
mvn clean install
You need to create an application.properties
file in the src/main/resources/
directory. This file will contain your specific configurations for Camunda and OIDC. Here is a template:
# Application name
spring.application.name=custom-tasklist
# Camunda Tasklist integration
camunda.client.id=YOUR_CAMUNDA_CLIENT_ID
camunda.client.secret=YOUR_CAMUNDA_CLIENT_SECRET
camunda.tasklist.url=YOUR_CAMUNDA_TASKLIST_URL
# OIDC configuration
spring.security.oauth2.client.registration.custom.client-id=YOUR_OIDC_CLIENT_ID
spring.security.oauth2.client.registration.custom.client-secret=YOUR_OIDC_CLIENT_SECRET
spring.security.oauth2.client.registration.custom.scope=openid,profile,email
spring.security.oauth2.client.registration.custom.authorization-grant-type=authorization_code
spring.security.oauth2.client.registration.custom.redirect-uri=http://localhost:8080/login/oauth2/code/custom
# OIDC Provider (e.g., Azure AD)
spring.security.oauth2.client.provider.custom.issuer-uri=YOUR_OIDC_ISSUER_URI
Replace the placeholders (e.g., YOUR_CAMUNDA_CLIENT_ID
, YOUR_OIDC_CLIENT_ID
) with your actual values.
Once the application.properties
is set up, you can run the application using Maven:
mvn spring-boot:run
The application will be available at http://localhost:8080. You will be redirected to your OIDC provider for authentication.
Feel free to submit issues or contribute via pull requests.
This README and the code comments were generated with ❤️ by ChatGPT.