Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fusionauth/fusionauth-example-modern-guide-to-oauth
- Owner: FusionAuth
- License: apache-2.0
- Created: 2021-02-10T16:39:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T05:55:15.000Z (3 months ago)
- Last Synced: 2024-07-28T06:45:44.191Z (3 months ago)
- Topics: authentication, oauth, oauth2, security
- Language: CSS
- Homepage:
- Size: 108 KB
- Stars: 24
- Watchers: 13
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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: passwordYou can also visit the FusionAuth admin at `http://localhost:9011` and sign in using the credentials:
* username: [email protected]
* password: password