Skip to content

curityio/spa-using-token-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPA using the Token Handler Pattern

Quality Availability

A Single Page Application (SPA) that implements OpenID Connect using recommended browser security.
The SPA uses a Backend for Frontend (BFF) approach, in line with best practices for browser based apps.
A modern evolution of Backend for Frontend is used, called the Token Handler Pattern.

Logical Components

Architecture Benefits

This provides the best separation of web and API concerns, to maintain all of the benefits of an SPA architecture:

  • Strongest Browser Security, with only SameSite=strict cookies
  • Great User Experience due to the separation of Web and API concerns
  • Productive Developer Experience with only simple security code needed in the SPA
  • Deploy Anywhere, such as to a Content Delivery Network

Run the End-to-end Flow

The SPA can be quickly run in an end-to-end flow on a development computer by following these guides:

Website Documentation

More Information

Please visit curity.io for more information about the Curity Identity Server.