Skip to main content

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

Metadata

Release files for oktaauth 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oktaauth 0.2
File Size Uploaded Provenance Actions
oktaauth-0.2.tar.gz 20.7 kB Without provenance Details for oktaauth-0.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for oktaauth 0.2
File Interpreter ABI Platform Actions
oktaauth-0.2-py2.6.egg Legacy Egg format - - Details for oktaauth-0.2-py2.6.egg
oktaauth-0.2-py2-none-any.whl Python 2 none any Details for oktaauth-0.2-py2-none-any.whl

Total release size: 38.7 kB

Release files / oktaauth-0.2.tar.gz

Download URL oktaauth-0.2.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1615aecb856679c4551915a70a0baa306f7597570d02e0b07734eb2161584c02
BLAKE2b-256 checksum
How to use checksums
95118c2d4fce3d6e70841386989f1a227da2028d2cc329b6f816584e2f86c492
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / oktaauth-0.2-py2.6.egg

Download URL oktaauth-0.2-py2.6.egg
Size 10.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
bf7fc57c6257b43f500345bd75edbd1ececc72444968086b718bab5c905bea77
BLAKE2b-256 checksum
How to use checksums
262026c4cb8f0adfadbbd60fe391a7d7c9eaf7ffbf455d0a2bd7e7508fbda977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / oktaauth-0.2-py2-none-any.whl

Download URL oktaauth-0.2-py2-none-any.whl
Size 7.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
52f05de134410d8be6ff35e771239007b16d2c1b4e8a77e44bb73d0bad34ff44
BLAKE2b-256 checksum
How to use checksums
7055cf08bb4d517ac058e353aaf2ffbd3f56491491a583e1820b02bd47762bcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for oktaauth 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page