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:
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oktaauthpy3-0.8.tar.gz.
File metadata
- Download URL: oktaauthpy3-0.8.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
919485a441b1f7bfb46cb1beb9afd92cb90cbf2fe738161ffd6a90bc9b5f423c
|
|
| MD5 |
067c271f800bd9d0f463f1c99c8e42a8
|
|
| BLAKE2b-256 |
a422cac3d8047a7a2d1bd9c157c5e0c5aa06fa90deec6155cef66d4091e4b68b
|
File details
Details for the file oktaauthpy3-0.8-py3-none-any.whl.
File metadata
- Download URL: oktaauthpy3-0.8-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d81d36ff9a191e32a5caee027045fcc35de0fa2d843f2b9e46c4bd36f8c72f6
|
|
| MD5 |
092045d67f68fa6d3407934c91bfef6e
|
|
| BLAKE2b-256 |
62d3e3c868517b86fe2ee12bba6e61dba5a349fcb58cc87c37da1eb593644972
|