Skip to content

Module and CLI client to handle Okta authentication

License

Notifications You must be signed in to change notification settings

logilab/oktaauth

This branch is 1 commit ahead of ThoughtWorksInc/oktaauth:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ecd7570 · Nov 27, 2019

History

15 Commits
Oct 28, 2015
Nov 27, 2019
Oct 28, 2015
Oct 28, 2015
Oct 28, 2015
Oct 28, 2015
Oct 28, 2015
Oct 28, 2015
Nov 6, 2015
Oct 28, 2015
Oct 28, 2015
Apr 14, 2016
Nov 27, 2019
Oct 28, 2015

Repository files navigation

oktaauth

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.

Usage

The oktaauth CLI requires a few arguments to operate.

# obtain a SAML response from Okta

$ oktaauth --username joebloggs --server acemeinc.okta.com --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:

https://acmeinc.okta.com/app/amazon_aws/exk5c0llc/sso/saml

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

Thanks

Thanks to Okta for help. I borrowed a lot of code from https://github.com/okta/okta-openvpn to handle the Okta API authentication flow.

Authors

  • Peter Gillard-Moss

About

Module and CLI client to handle Okta authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%