GithubHelp home page GithubHelp logo

terto17 / auth0-iac Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luizhlelis/auth0-iac

0.0 0.0 0.0 58 KB

๐Ÿ— Different infrastructure as code alternatives to deploy your Auth0 tenant

Shell 10.07% C# 48.83% HTML 27.53% HCL 10.58% Dockerfile 2.99%

auth0-iac's Introduction

auth0-IaC

Just playing a bit with Auth0 ๐Ÿ”, Terraform ๐Ÿ—๏ธ , auth0-deploy-cli ๐Ÿง‘โ€๐Ÿ’ป and Pulumi ๐ŸŸช

Prerequisites

Running commands

First, you need to update the .env file with your application credentials as described in Prerequisites:

Go to the src folder and then type one of the following commands (depending on the infrastructure you want to deploy):

  1. The command below will publish all infrastructure in your tenant with terraform:
docker-compose up --build terraform

After that, get the Sample App credentials in terraform.tfstate file and update # Sample app section of .env file.

  1. The command below will publish all infrastructure in your tenant with auth0-deploy-cli:
docker-compose up --build auth0-cli
  1. The command below will publish all infrastructure in your tenant with pulumi:
docker-compose up --build pulumi

After that, get the Sample App credentials in Auth0 portal (go to Applications > Applications > Sample app client > Settings > Basic Information) . Then, update # Sample app section of .env file.

As sample-app uses https endpoints, you need to create a localhost certificate, got to the scripts folder and type the following command:

./gen-cert.sh

After that, you need to trust the certificate servercert.crt that was created in certificates folder. To do that, you can follow one of the following ways (depending on your OS):

Mac Os

Windows

Linux

After your infra is up, you're able to run the Regular Web application:

docker-compose up --build sample-app

Open the client in your favorite browser:

http://localhost/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.