Okta Access Token JWT Validation in Java SpringBoot 1.5.x

Any suggestions on how to do okta access token JWT validation in Java Spring Boot 1.5 ?

I found https://github.com/okta/okta-jwt-verifier-java but it doesn’t seem to work with SpringBoot 1.5

You should be able to use v0.6 of our Okta Spring Boot Starter. For example, if you want to set up a resource server that validates JWTs, you can do:

@Configuration
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.oauth2ResourceServer().jwt();
    }
}

This blog post might help too, but it is for Spring Boot 2.x.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.