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 :)

已提问 2 年前156 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则