npx saml-to login
The login command is the primary command that can be used to open a Web Browser to start the SAML authentication process.
If no arguments are provided, it will prompt for available logins.
The list-logins command will also show available Service Providers for login.
  • npx saml-to login
    • Interactively display and allow selection of a Service Provider for which to login
  • npx saml-to login aws
    • Opens a browser window and begins the SAML authentication process.
    • No interactive prompts and requires an exact match of a provider name.

npx saml-to login [provider]
Login to a provider
--version Show version number [boolean]
--help Show help [boolean]
--provider The provider for which to login [string]
--org Specify an organization [string]

In the event you're a member of multiple organizations, with providers of the same name, you can seed the command with a specific organization with this flag.
E.g. npx saml-to login aws --org stark-international

Following these commands, a browser window would be opened to begin the SAML Authentication flow.
➜ ~ npx saml-to login
npx: installed 1 in 1.552s
? For which provider would you like to log in? (Use arrow keys)
❯ aws (stark-international)
[New GitHub Identity]
Logging into aws (org: stark-international)
➜ ~
➜ ~ npx saml-to login aws
npx: installed 1 in 1.719s
Logging into aws
➜ ~
Copy link
On this page
Example Output