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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file oktaauth-0.1.tar.gz
.
File metadata
- Download URL: oktaauth-0.1.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ba9c2f6415cf8038650c702252d0e53f589125abe08e4f01745375cba6d9bf0 |
|
MD5 | 658f76baffccde1f046e026e0beac066 |
|
BLAKE2b-256 | f11be90a84c5656d2557d1aaa59ff74a3ac7fff9ce991702373448c12dd1d3c6 |
File details
Details for the file oktaauth-0.1.linux-x86_64.tar.gz
.
File metadata
- Download URL: oktaauth-0.1.linux-x86_64.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ab35e4f53290b586499218dfe1aa946eca68c56c06dfac28ffa2d7b180912a |
|
MD5 | 9aeb9c3a4dc006ae0b2cfb9e93049629 |
|
BLAKE2b-256 | 8017d7c64fce2548b0760ecef1f8569d800133fa7c70554d9901fe379175ad25 |
File details
Details for the file oktaauth-0.1-py2.6.egg
.
File metadata
- Download URL: oktaauth-0.1-py2.6.egg
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b7c984b90f6701fcdbc5f53a8f021d90aa58a5d4d840daa856e660a1e019ba5 |
|
MD5 | d254669b5b44c067a14cd8b373b3c6c6 |
|
BLAKE2b-256 | 03b94b186c24475979d3bf39d324b0156371579ed245fd746354bcd9e2f9d77c |