How to acces my Endpoint with Okta OIDC

Hi,

I may have missed something, but since I enabled OIDC with Okta, I can’t find a way to access my API endpoints as soon as I enable authentication using powershell / curl.

Does anyone have any experience with this type of scenario ?

Many thanks in advance for your help and comments

Generate a token from the admin page, and pass it in the header

Invoke-RestMethod https://beta.myserver132.org/Run/UpdateCertificate -Headers @{ Authorization = “Bearer replaceThisWithTokenhere” }

Security - PowerShell Universal