Skip to content

Initial setup for an OAuth 2 code sample with an SPA, API and Authorization Server

Notifications You must be signed in to change notification settings

lamontadams/authguidance.websample1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

authguidance.websample1

Overview

  • The first SPA sample using OAuth 2.0 and Open Id Connect, referenced in my blog at https://authguidance.com
  • The goal of this sample is to integrate a Web UI and API with an external Authorization Server

Details

Programming Languages

  • ES6 Javascript is used for the SPA
  • NodeJS with ES6 is used for the API

Middleware Used

  • The Oidc-Client Library is used to implement the Implicit Flow
  • The OpenId-Client Library is used to handle API token validation
  • Express is used to host both the API and the SPA content
  • Okta is used for the Authorization Server

About

Initial setup for an OAuth 2 code sample with an SPA, API and Authorization Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.6%
  • HTML 3.0%
  • CSS 0.4%