OpenId connect with oauth 2 authorization spring mvc implementation tutorial

Hi DevOps,

Is there an implementation guide that can help me to integrate OpenId connect and oAuth 2.0 for authentication and authorization based on Spring MVC and Spring Security?

Regards,

if you already know how to build spring mvc then you can use it with okta oauth api and open id
use this link: https://developer.okta.com/docs/api/resources/oidc, just implement it however you like
I have no experience with spring security but try using these examples https://github.com/okta/samples-java-spring

2 Likes

Thank you @abroadhurst, I already use these articles and helped a lot.

But I was searching for a standard implementation guide.

Thank you again.
Regards,

Okta’s Spring Security impl just sits on top of Spring Security/Spring Boot, and makes it a little easier to configure/use with Okta.

You can of course just use the out of the box Spring Security bits, take a look at this post: