
AndrewS.34348 (Customer) asked a question.
Hey Team,
I am reaching out because I want an example on how to authenticate and get an access token for an OAUTH app that does NOT use a redirect url.
If I can get an example in PowerShell I would appreciate it. Thanks.

I'm not finding any documentation that has examples of the Okta authentication API implemented in PowerShell but I have used the following PowerShell library to pull back Okta MFA details. https://github.com/gabrielsroka/OktaAPI.psm1
Perhaps you can draw a bit of inspiration from that PS library to create something that would fit your needs when implementing authentication using the Authorization Code with PKCE flow. https://developer.okta.com/docs/guides/implement-grant-type/authcodepkce/main/#create-the-proof-key-for-code-exchange https://developer.okta.com/docs/guides/configure-native-sso/main/