Skip to main content

Authenticates from the CLI

Project description

This is a fork of oktaauth with Python3 support

The oktaauthpy3 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 oktaauthpy3 CLI requires a few arguments to operate.

# obtain a SAML response from Okta

$ oktaauthpy3 –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

Peter Gillard-Moss who is the original Author or oktaauth https://pypi.org/project/oktaauth/

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.

Author

  • Mansab Uppal

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

oktaauthpy3-0.4.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oktaauthpy3-0.4-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file oktaauthpy3-0.4.tar.gz.

File metadata

  • Download URL: oktaauthpy3-0.4.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for oktaauthpy3-0.4.tar.gz
Algorithm Hash digest
SHA256 c91c8c8ffcea97fa05323cada4eba2a34dcdd47657623da5bf6bd6db1cf880e0
MD5 83ffbc238fe8fee93f4c892d1de63c59
BLAKE2b-256 8bad7cf81ac3c425e395dd4b225110f18ac67572d7f11ee7213014d4015d5c1e

See more details on using hashes here.

File details

Details for the file oktaauthpy3-0.4-py3-none-any.whl.

File metadata

  • Download URL: oktaauthpy3-0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for oktaauthpy3-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4b32a5b5a5b2e9448ef40c01b12708026215d901a97378bfd093ba965077c2
MD5 9b1749d717b4862e5b3b2691c14a7edf
BLAKE2b-256 127ec887b94a5267e29d9bf004d8c49e5f4669e7bbc8e9d2447a108a597d000a

See more details on using hashes here.

Supported by

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