Skip to content

auth0-blog/spa-cookie-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPA Authentication Demo

This is a sample app designed to demonstrate securing a SPA with a backend server using cookies. It uses express-openid-connect as the authentication middleware, and issues cookies which are then sent with the AJAX requests to the /api endpoint.

Setting up

Clone the project, then install the dependencies using npm:

$ npm install

Running the Application

To start the application on port 3000, use:

$ npm run dev

This will start a nodemon server. The application can be accessed by visiting http://localhost:3000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published