Giter VIP home page Giter VIP logo

fusionauth's Introduction

fusionauth

User authn & authz using FusionAuth for secure access management.

Development

For a quick local setup.

docker-compose

  1. cd docker && docker-compose pull
  2. docker-compose up -d
  3. Open localhost:9011/
  4. Setup admin user.
  5. Create a fusionauth application.
  6. Edit the user and add a registration for the app just created.

OAuth configuration

  1. Open http://localhost:9011/admin/application/
  2. View the details of the created fusionauth application.
  3. Take note of Client Id: and Client secret:
  4. cp .env.template .env
  5. Replace the values in .env with the values from the application.

Authenticate

  1. npm i && npm start
  2. Open 127.0.0.1.nip.io:3000/

Production / Kubernetes Cluster

Deploy service dependencies.

Database

Deploy bitnami/postgresql helm chart with cloud.okteto.com catalog deployment using db-values.yaml template values.

Elasticsearch

Deploy elastic/elasticsearch helm chart using es-values.yaml template values.

helm install elasticsearch elastic/elasticsearch \
  --version 7.16.3 \
  --values es-values.yaml

kubectl get pods --namespace=... -l app=elasticsearch-master -w
# NAME                     READY   STATUS    RESTARTS   AGE
# elasticsearch-master-0   1/1     Running   0          20m

FusionAuth

  1. Deploy fusionauth/fusionauth helm chart using fa-values.yaml template values.

    helm install fusionauth-1.32.1 fusionauth/fusionauth \
    --version '0.10.5' \
    --values fa-values.yaml
    
    kubectl get pods -l app.kubernetes.io/name=fusionauth -w
    # NAME                          READY   STATUS    RESTARTS   AGE
    # fusionauth-6b7775c49b-rj98p   1/1     Running   0          13m
  2. Setup admin user.

  3. Create a fusionauth application.

  4. Edit the user and add a registration for the app just created.

  5. Update .env with values from the fusionauth application.

Authenticate

  1. npm start
  2. Open 127.0.0.1.nip.io:3000/

Helm Charts

helm list
# NAME             	STATUS  	CHART               	APP VERSION
# elasticsearch    	deployed	elasticsearch-7.16.3	7.16.3     
# fusionauth-1.32.1	deployed	fusionauth-0.10.5   	1.30.1     
# postgresql       	deployed	postgresql-6.3.12   	11.5.0     

TODO

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.