Skip to content

FusionAuth/fusionauth-example-node-deeplink

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FusionAuth Deeplink Node.js example

This project is built on top of the fusionauth-example-node application from the 5-Minute Setup Guide. This addition to that project illustrates the ability to save the application state and to return to the same state upon authenication.

This application will use the same OAuth Authorization Code workflow as the Node Example.

To run

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

  • update your FusionAuth application to allow a redirect of http://localhost:3000/oauth-redirect
  • make sure your user has a first name and is registered for the FusionAuth application.
  • npm install
  • update routes/index.js with the client id and client secret of your FusionAuth application.
  • npm start

Go to http://localhost:3000/ and click through to a product page. Then click login, log in and then verify that once authenticated you are returned to the same product page.

Learn more at https://fusionauth.io

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published