Skip to content

deanraspa/auth0-saml-connection-tool

 
 

Repository files navigation

Auth0 SAML Connection Tool

A CLI for managing SAML connections in Auth0

Setup

Auth0 Setup

For a tenant to be used by the tool, you must first log into the Auth0 Dashboard and:

  1. Create a new Non Interactive Client that will represent this tool. Name it something like: auth0-saml-connection-tool
  2. Authorize the client for the Auth0 Management API and enable the following scopes:
    • read:connections
    • delete:connections
    • create:connections

Global Setup

This script is not registered in npm, but you can install it as global command directly from this repo like this:

npm install -g https://github.com/twistedstream/auth0-saml-connection-tool

Alternatively if you have cloned this repo to your machine, you can install the script globally by running this command from the repo directory:

npm install -g

Usage

Before you can run any real commands, you need to log in:

a0saml login

Follow the prompts to configure the tool with the Auth0 client created above.

Now you can do stuff, like create a SAML connection from the sample SSO Circle metadata file:

a0saml create ./sample-metadata/ssocircle.xml

Here's how you can delete all your SAML connections:

a0saml delete-all

Or get a count of all SAML connections:

a0saml count

For a compete list of commands and help:

a0saml --help

About

A CLI for managing SAML connections in Auth0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%