Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fusionauth/fusionauth-example-modern-guide-to-oauth

The example application paired with the Modern Guide to OAuth
https://github.com/fusionauth/fusionauth-example-modern-guide-to-oauth

authentication oauth oauth2 security

Last synced: about 9 hours ago
JSON representation

The example application paired with the Modern Guide to OAuth

Awesome Lists containing this project

README

        

# FusionAuth Modern Guide to OAuth example application

This project is an application that we build as part of our [Modern Guide to OAuth eBook](https://fusionauth.io/articles/oauth/modern-guide-to-oauth).

## Project Contents

The `docker-compose.yml` file and the `kickstart` directory are used to start and configure a local FusionAuth server.

## Project Dependencies

* Docker, for running FusionAuth
* Node. Tested with version 20, but should work with any modern version.

## Running FusionAuth
To run FusionAuth, just stand up the docker containers using `docker compose`.

```shell
docker compose up
```

This will start a PostgreSQL database, and Elastic service, and the FusionAuth server.

## Running the Example App
To run the application, first install the modules

```shell
npm install
```
Then start the server.

```shell
npm run start
```

Visit the local webserver at `http://localhost:3000/` and sign in using the credentials:

* username: [email protected]
* password: password

You can also visit the FusionAuth admin at `http://localhost:9011` and sign in using the credentials:

* username: [email protected]
* password: password