2019/01/02

jBPM Business Apps and Okta Single Sign-on (SSO)

Wanted to showcase a new jBPM Business Applications demo that includes easy
integration with the Okta identity management service.

The demo uses the developer.okta.com setup and the Okta Spring boot starter to quickly set up SSO for our jBPM Business App. It also shows how easy it is to restrict access to certain pages of your jBPM Business Application using the authentication info and identity setup in Okta.

Demo source code is on github.

The demo requires you to make an account on developer.okta.com (its free) and create an Okta application and set up two group called "Admin" and "Sales"

Okta group setup

Only other configuration is in the your apps application.properties file:

application.properties setup

All of this information you get for free once you create an account and an application on the Okta developer site.

Once you have completed this setup and start the Okta demo app, go to localhost:8090 and to authenticate and access your app. Note that since there is no logout feature in the demo app, in order to simulate the logout simply delete your recent browser cookies.

If you don't create and set up the "Sales" group in Okta for your application there accessing localhost:8090/sales will give you a "403" page:

Demo app 403 page

Otherwise you will be able to access it:

Demo sales page

The apps index page is authorized to users that are in the "Admin" group that you have set up in Okta.

Here is a youtube video which walks you through the Okta demo and shows how simple it is to set 
this all up:








1 comment:


  1. Assistance Experts provide digital marketing website development seo expert services social media internet
    skyrocket organic traffic online SEO Expert Services

    ReplyDelete