Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to do OAuth without Spring Boot?

See original GitHub issue

I’m trying to provide SSO for an instance of Camuda via Google OAuth, and I’m reading various docs related to this plugin and I’m a bit confused. I keep seeing references to something called “Spring Boot”, which appears to be some kind of external service as far as I can tell.

I have no interest in using this “Spring Boot” thing with my instance of Camunda, but all tutorials I’ve seen related to OAuth and Keycloak keep mentioning it. So my question is: Is it possible to do OAuth with Keycloak without Spring Boot?

I found this issue: Which appears to describe my dilemma well, since I did install the Keycloak JAR and configured a default.yml file to use my already configured instance of Keycloak, but nothing has changed. I see no option to use Keycloak for login.

The official README file mentions this:

Add the following class to your Camunda Spring Boot application in order to activate the Keycloak Identity Provider Plugin:

And then provides some example Java code. Where is that supposed to go if I’m not using Spring Boot?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27

github_iconTop GitHub Comments

VonDerBeckcommented, Jul 7, 2021

Hi @jakubgs,

if you do not want to setup your own Spring Boot project, you have the following options for this plugin:

But this plugin is NOT an SSO plugin. It replaces the original Camunda Identity Provider (which uses the Camunda database for users and groups) with a ReadOnlyIdentityProvider connecting to Keycloak. Without SSO you keep using the standard Camunda login form. Because passwort grant exchanges are not supported e.g. by social logins and other identity providers configured in Keycloak this will work with the LDAP user federation and local users and groups of Keycloak only. See README of this plugin.

If you want it all, you will need SSO. When it comes to implementing SSO, it’s the most easy thing to setup your own Camunda Spring Boot instance. Because with that you have all of the standard Spring Boot SSO mechanisms at your hand. Out of the box. If you do not want to do that, please have a look at the work of @iceman91176 (

Hope this helps. Gunnar

jakubgscommented, Oct 14, 2021

Ah, sorry, I totally forgot about this issue. Thanks for answering my questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use OAuth2 in Spring Security without Spring boot support
I built an web application without using Sprint boot support. The front-end is AngularJS. The back-end is Spring MVC restful API.
Read more >
Google Sign-In with Spring Security (no Spring Boot)
I already described how easy is to use Google Sign-In in an application based on Spring Boot.
Read more >
Tutorial | Spring Boot and OAuth2
Configure application.​​ Simply use the OAuth 2.0 credentials you just created with GitHub, replacing github-client-id with the client id and github-client- ...
Read more >
12. OAuth2 - Spring
The OAuth 2.0 Login feature provides an application with the capability to have users log in to the application by using their existing...
Read more >
Spring Security OAuth
The Spring Security OAuth project has reached end of life and is no longer actively maintained by VMware, Inc. This project has been...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found