Skip to content

kmaida/auth-architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth Architecture

This repo contains a set of apps demonstrating different auth architectures, a resource API server, and a FusionAuth Docker container with configuration (called a kickstart).

Note

This repo's demos are built with React and Node. An Angular version of this architecture demo set is available at https://github.com/kmaida/auth-architecture-ng.

Prerequisites

Installation

  1. Clone this repo
  2. Remove the .sample suffix from /fusionauth/.env.sample (and make the changes mentioned in the file)
  3. From the cloned /fusionauth folder, run: docker compose up -d
  4. FusionAuth will be installed in a Docker container and will use the included /fusionauth/kickstart/kickstart.json to set the appropriate FusionAuth configuration for use with this repo
  5. Verify that FusionAuth is installed and configured properly by navigating to http://localhost:9011/admin
  6. If you get a login screen at http://localhost:9011/admin, the kickstart was successful
  7. Log in with the admin credentials: [email protected] / password
  8. In the FusionAuth dashboard, go to Applications and make sure there are three apps: Auth Architecture (BFF & TMB), Auth Architecture (BBOC & BFF-HB), and FusionAuth

Architecture

Use the READMEs in each architecture folder (/bff, /tmb, /bboc, /bff-hb) for instructions on setting up that architecture. All demos use one FusionAuth instance.

Concurrent architectures

You will not be able to run multiple architecture demos at the same time because they share ports. If you'd like to run multiple apps at the same time, you must change the ports.

All apps share the same FusionAuth instance, so there is no need to run multiple FusionAuth containers.

Resource API

Use the README in the /resource-api folder for setup instructions.

About

Full demo of 4 architecture patterns for browser-based OAuth 2.0 / OIDC

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published