Easy Single Sign-On with Spring Boot and OAuth 2.0

Easy Single Sign-On with Spring Boot and OAuth 2.0

In this post, we’ll look at how you can integrate single sign-on into your custom apps easily

mxu

A little tip, it appears the double quotes in claims “OIDC App 2” got lost during copy paste from this blog to the okta dev console. The workaround is to remove the double quotes and re-type :slight_smile:

Micah

Thanks for the tip!

Saman Perera

I have two Spring boot app with authenticate using same MySql DB user store, I need to build the Okta SSO capable apps , still need to authenticate the MySQL DB user credentials , Could pls give me idea whether my approach is correct or not

Matt Raible

If you currently store your user credentials in MySQL, and want to switch to Okta, you’ll need to import those credentials into Okta. My awesome co-worker, Randall, wrote a guide on how to do that: User Migration: The Definitive Guide.

Saman Perera

Thanks Matt , I will refer above guiide

Dhivya Divi

Hi, Do you have any blog for okta spring boot sso logout

Matt Raible

Yes! Please see OpenID Connect Logout Options with Spring Boot.