Secure Methods of Building Okta Authentication into Scripts

Looking for a way to programmatically authenticate into Okta from a power shell script or Python program.

The team has to get passed the authentication process to run some tests & automation but I am unsure how to provide them that sort of access securely.

I was reviewing the API documentation and it seems that may be more geared towards Okta admin tasks, but potentially it could also be used to authenticate to an app - not sure.

I was also looking at the official PowerShell module, but again, that seemed like it was more geared towards Okta administration.

Note: I am not a dev, just an okta admin.

Okta provides an official PowerShell module that can be used for authentication and management tasks. While it is primarily designed for Okta administration, it can also be used for authentication purposes!

1 Like

Also you can take a look our Okta Management SDKs Python. This SDK can be used in your server-side code to interact with the Okta management API.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.