PingFederate authentication tool for automated implicit flow
npm install pf-authenticatorInstallation
------------
``bash`
$ npm -g install pf-authenticator
NOTE: Make sure you have Node.js and Npm installed in your machine (https://nodejs.org/en/download).
Usage
-----
`bash
$ authenticator
Usage: authenticator --issuer
PingFederate Authenticator
Options:
-I, --issuer
-C, --client
-R, --redirect
-S, --scope
-i, --id_token Retrieve the ID Token instead of Access Token.
-U, --username
-P, --password
-h, --help output usage information
`
Additional information
----------------------
For scripting automation purposes, the token might be redirected to a file:
`bash``
$ authenticator -I https://pfinstance.com:5555 -C my_client_app -R https://example.com -U john_doe -P "Lorem Ipsum" > access_token.txt
To-do
-----
- [x] Add support to both HTTP and HTTPS. (Currently only supports HTTPS)
- [ ] Allow direct importing as a Node module.
- [ ] Add option to import a configuration file.