Add Single Sign-On to Your Spring Boot Web App in 15 Minutes

Brian Demers

Hi @ragalapurushotham!
I’m not sure I understand your question. Are you asking if you can turn SSO on and off for a given application? Usually enabling SSO is desirable from a security perspective, toggling it on and off would result in a confusing user experience.

If that doesn’t answer your question let us know!

Ragala Purushotham

Thanks @brian Demers for the Response.

Are you asking if you can turn SSO on and off for a given application?
Yes.

I wanted to disable the SSO during the development phase. Do we have any idea’s to implement using ‘WebSecurityConfigurerAdapter’.

Brian Demers

For development you would typically use a different issuer. With Okta there is a couple different ways to do this. Commonly, folks just create a different Okta Org for production and development.

Another option use a different client id/secret for development, and isolate a set of test users using groups and policies.