How to programmatically access a REST API protected by Okta?

I have a Spring Boot application deployed in AWS, which provides and API and uses Okta.
I’d like to call it programmatically without user interactions (e.g. with newman).
What would the best approach be?

Hi @demS,

Are you using one of Okta’s endpoints?

Hi @erin.p,
I am using com.okta.spring:okta-spring-boot-starter:1.4.0 and okta.oauth2.issuer points to my subdomain of