How can I log into an alb-oidc-okta enabled site using curl?

0

we configured an Application Load Balancer to authenticate users using OIDC with Okta IDP. Now users can successfully log into forntend app by Browser. I secured api side with the same approch. Now FE can make rest API calls with session cookie through alb. Now I want to let external server Applicaton to call the API? For example How can I call this rest api using curl? Is there a way to get bearer token from ALB and request curl with that token? Or is there any other approch to access Api programmatically? Please help, Thank you :)

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions