OAuth_For_Okta feature for Java/Spring


I am exploring OAuth_for_Okta feature and able to setup a NodeJS application by referring to the link https://github.com/andymarch/OAuth-For-Okta-APIs

Now I am trying to setup something similar for a Java/Spring based application.May I know what would be the equivalent functionality in Java/Spring for the below NodeJS functionality

const tokenSet = req.userContext.tokens;


What exactly are you trying to do with Java and Spring? We have an Okta Spring Boot starter that makes it easy to integrate Okta with Spring.