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

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen