Skip to main content

Authenticates from the CLI

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oktaauth-0.2.tar.gz (20.7 kB view details)

Uploaded Source

Built Distributions

oktaauth-0.2-py2.6.egg (10.7 kB view details)

Uploaded Source

oktaauth-0.2-py2-none-any.whl (7.2 kB view details)

Uploaded Python 2

File details

Details for the file oktaauth-0.2.tar.gz.

File metadata

  • Download URL: oktaauth-0.2.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oktaauth-0.2.tar.gz
Algorithm Hash digest
SHA256 1615aecb856679c4551915a70a0baa306f7597570d02e0b07734eb2161584c02
MD5 861300d94f5408378a4ba13485a3b068
BLAKE2b-256 95118c2d4fce3d6e70841386989f1a227da2028d2cc329b6f816584e2f86c492

See more details on using hashes here.

File details

Details for the file oktaauth-0.2-py2.6.egg.

File metadata

  • Download URL: oktaauth-0.2-py2.6.egg
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oktaauth-0.2-py2.6.egg
Algorithm Hash digest
SHA256 bf7fc57c6257b43f500345bd75edbd1ececc72444968086b718bab5c905bea77
MD5 2da0d2420c4be0808a93a02128a6e604
BLAKE2b-256 262026c4cb8f0adfadbbd60fe391a7d7c9eaf7ffbf455d0a2bd7e7508fbda977

See more details on using hashes here.

File details

Details for the file oktaauth-0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for oktaauth-0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 52f05de134410d8be6ff35e771239007b16d2c1b4e8a77e44bb73d0bad34ff44
MD5 d4f5c8525b1134a51fae94e32aff7f34
BLAKE2b-256 7055cf08bb4d517ac058e353aaf2ffbd3f56491491a583e1820b02bd47762bcf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page