Module and CLI client to handle Okta authentication
Switch branches/tags
Nothing to show
Clone or download
petergillardmoss Merge pull request #3 from larsga/fix-reqs-bs4
Add forgotten requirement (BeautifulSoup4)
Latest commit 191144f Apr 18, 2016



The oktaauth module and command line interface allows users to authenticate with Okta and obtain a SAML assertion either from the command line or programmatically from another script.


The oktaauth CLI requires a few arguments to operate.

# obtain a SAML response from Okta

$ oktaauth --username joebloggs --server --apptype amazon_aws --appid exk5c0llc

The apptype and appid are provided by okta and would be seen in the url when going via a browser. For example:

There may be an easier way to obtain this. If you know then please submit a pull request to this README.


Thanks to Okta for help. I borrowed a lot of code from to handle the Okta API authentication flow.


  • Peter Gillard-Moss