All Projects → auth0 → auth0-cli

auth0 / auth0-cli

Licence: MIT license
Build, manage and test your Auth0 integrations from the command line

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
HTML
75241 projects
Makefile
30231 projects

Projects that are alternatives of or similar to auth0-cli

Serverless Architectures Aws
The code repository for the Serverless Architectures on AWS book
Stars: ✭ 120 (-35.48%)
Mutual labels:  auth0
Golang Gin
Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT
Stars: ✭ 160 (-13.98%)
Mutual labels:  auth0
Lock.swift
A Swift & iOS framework to authenticate using Auth0 and with a Native Look & Feel
Stars: ✭ 215 (+15.59%)
Mutual labels:  auth0
Auth0 Javascript Samples
Auth0 Integration Samples for Vanilla JavaScript Applications
Stars: ✭ 130 (-30.11%)
Mutual labels:  auth0
Auth0.swift
Swift toolkit for Auth0 API
Stars: ✭ 146 (-21.51%)
Mutual labels:  auth0
Prisma Auth0 Example
Boilerplate Prisma Startup
Stars: ✭ 184 (-1.08%)
Mutual labels:  auth0
React Redux Auth0 Kit
Minimal starter boilerplate project with CRA, React, Redux, React Router and Auth0 authentication
Stars: ✭ 115 (-38.17%)
Mutual labels:  auth0
Authing
🔥Authing - IDaaS/IAM solution that can Auth to web and mobile applications.
Stars: ✭ 247 (+32.8%)
Mutual labels:  auth0
Cfworker
A collection of packages optimized for Cloudflare Workers and service workers.
Stars: ✭ 152 (-18.28%)
Mutual labels:  auth0
Useauth
The simplest way to add authentication to your React app. Supports various providers.
Stars: ✭ 2,532 (+1261.29%)
Mutual labels:  auth0
Mumuki Laboratory
🔬 Where students practice and receive automated and human feedback
Stars: ✭ 131 (-29.57%)
Mutual labels:  auth0
Reactjs Authentication Tutorial
Chuck Norris World App - A sample app that shows how to add authentication to a ReactJS app
Stars: ✭ 139 (-25.27%)
Mutual labels:  auth0
Starter Pack
Combines React (ft. hooks), Redux, Redux-saga and TypeScript with Auth0 as a starting point for modern web apps with solid authentication
Stars: ✭ 209 (+12.37%)
Mutual labels:  auth0
Assent
Multi-provider framework in Elixir
Stars: ✭ 126 (-32.26%)
Mutual labels:  auth0
Actingweb firstapp
Starter app for Flutter that includes many different production app features; some not typically included in demo apps.
Stars: ✭ 224 (+20.43%)
Mutual labels:  auth0
Auth0 Nodejs Webapp Sample
Auth0 Integration Samples for Node Web Applications
Stars: ✭ 117 (-37.1%)
Mutual labels:  auth0
Supertokens Core
Open source alternative to Auth0 / Firebase Auth / AWS Cognito
Stars: ✭ 2,907 (+1462.9%)
Mutual labels:  auth0
Terraform Provider Auth0
Auth0 Terraform Provider
Stars: ✭ 252 (+35.48%)
Mutual labels:  auth0
Auth0 Angular Samples
Auth0 Integration Samples for Angular 2+ Applications
Stars: ✭ 227 (+22.04%)
Mutual labels:  auth0
Auth0 Vue Samples
Auth0 Integration Samples for Vue.js Applications
Stars: ✭ 215 (+15.59%)
Mutual labels:  auth0

Auth0 CLI

GoDoc Go Report Card Release Codecov License Build Status


Build, manage and test your Auth0 integrations from the command line.

demo

Highlights

  • 🧪 Test your universal login flow: Emulate your end users' login experience by running auth0 test login.
  • 🔍 Troubleshoot in real-time: Inspect the events of your Auth0 integration as they happen with the auth0 logs tail command.
  • 🔁 Simplify repetitive tasks: Create, update, list and delete your Auth0 resources directly from the terminal.

Table of Contents

Installation

macOS

Install via Homebrew:

brew tap auth0/auth0-cli && brew install auth0

Windows

Install via Scoop:

scoop bucket add auth0 https://github.com/auth0/scoop-auth0-cli.git
scoop install auth0

Linux

Install via cURL:

# Binary will be downloaded to "./auth0".
curl -sSfL https://raw.githubusercontent.com/auth0/auth0-cli/main/install.sh | sh -s -- -b .

# To be able to run the binary from any directory
# make sure you move it to a place in your $PATH
# sudo mv ./auth0 /usr/local/bin

Go

Install via Go:

# Make sure your $GOPATH/bin is exported on your $PATH
# to be able to run the binary from any directory.
go install github.com/auth0/auth0-cli/cmd/auth0@latest

Manual

  1. Download the appropriate binary for your environment from the latest release
  2. Extract the archive
    • macOS: $ tar -xf auth0-cli_{version}_Darwin_{architecture}.tar.gz
    • Linux: $ tar -xf auth0-cli_{version}_Linux_{architecture}.tar.gz
    • Windows: Extract auth0-cli_{version}_Windows_{architecture}.zip using your preferred method of choice
  3. Run ./auth0

Note Autocompletion instructions for supported platforms available by running auth0 completion -h

Authenticating to Your Tenant

Authenticating to your Auth0 tenant is required for most functions of the CLI. It can be initiated by running:

auth0 login

There are two ways to authenticate:

  • As a user - Recommended when invoking on a personal machine or other interactive environment. Facilitated by device authorization flow.
  • As a machine - Recommended when running on a server or non-interactive environments (ex: CI). Facilitated by client credentials flow. Flags available for bypassing interactive shell.

Warning Authenticating as a user is not supported for private cloud tenants. Instead, those users should authenticate with client credentials.

Available Commands

Customization

To change the text editor used for editing templates, rules, and actions, set the environment variable EDITOR to your preferred editor. If choosing a non-terminal editor, ensure that the command starts the editor and waits for the files to be closed before returning.

Examples:

# Uses vscode with the --wait flag.
export EDITOR="code --wait"

# Uses sublime text with the --wait flag.
export EDITOR="subl --wait"
 
# Uses nano, a terminal based editor.
export EDITOR="nano"

# Uses vim, a terminal based editor.
export EDITOR="vim"

Anonymized Analytics Disclosure

Anonymized data points are collected during the use of this CLI. This data includes the CLI version, operating system, timestamp, and other technical details that do not personally identify you.

Auth0 uses this data to better understand the usage of this tool to prioritize the features, enhancements and fixes that matter most to our users.

To opt-out of this collection, set the AUTH0_CLI_ANALYTICS environment variable to false.

Feedback

Contributing

We appreciate feedback and contribution to this repo! Before you get started, please see the following:

Raise an issue

To provide feedback or report a bug, please raise an issue on our issue tracker.

Vulnerability Reporting

Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.


Auth0 Logo

Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout Why Auth0?

This project is licensed under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].