Skip to content

FusionAuth/fusionauth-example-5-minute-guide

Repository files navigation

Get started with FusionAuth in 5 minutes or less

This project is an example Node.js application that illustrates how to integrate with FusionAuth using the Authorization Code grant.

This assumes you already have a running FusionAuth instance, user and application running locally. If you don't, please see the 5-Minute Setup Guide to do so.

  • log into the admin UI of FusionAuth ** update your FusionAuth application to allow a redirect of http://localhost:3000/oauth-redirect ** add a logout url of http://localhost:3000/logout ** make sure your user has a first name. ** note your client id and client secret
  • copy .env.sample to .env and update it with your Client Id, Client Secret and FusionAuth instance base URL.
  • run npm install
  • npm start

Go to http://localhost:3000/ and login with the previously created user.

You should see 'Hello '

You should be able to logout as well.

Last updated

Aug 2024

Releases

No releases published

Packages

No packages published

Contributors 9