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 年前檢視次數 151 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南