Skip to content

Example Node applications demonstrating how to use the WorkOS Node SDK to support SSO, Directory Sync, Admin Portal and Magic Link.

Notifications You must be signed in to change notification settings

Patrick-Kelly-1330/node-sample-apps

 
 

Repository files navigation

Node Example Application powered by WorkOS

Sample application that demonstrates how to use the WorkOS Node SDK for SSO and Directory Sync

Deployed Application Details

Deployed app: https://samplessoworkos.onrender.com

Deployment note: given that I am using a free service via Render, the initial load of the site may take up to 60 seconds.

Application Demo and Login Flow

  1. Visit https://samplessoworkos.onrender.com
  2. Select Log In
  3. Via Okta, enter the email and password of the test user listed below
  4. Select View Team Members to view list of group members from the Okta directory

Test User Credentials

username: [email protected]

password: workosPassword1

Application Overview

deployedSSOsampleworkOS

Local Setup and Application Demo

Local Install Instructions

  1. Clone the main repo
git clone https://github.com/Patrick-Kelly-1330/node-SSO-sample.git
  1. Navigate into the node-sso-example directory
cd node-sso-sample/node-sso-example
  1. Install the dependencies
npm install
  1. Run the application
npm start

Local Demo Instructions

Initial step: create an .env file in the node-sso-example directory to store your API Key and Client ID.

WORKOS_API_KEY = your_api_key_here
WORKOS_CLIENT_ID = your_client_id_here
  1. Visit https://localhost:8000
  2. Select Log In
  3. Via Okta, enter the email and password of the test user listed above
  4. Select View Team Members to view list of group members from Okta directory

For more information, please see the following guides:

About

Example Node applications demonstrating how to use the WorkOS Node SDK to support SSO, Directory Sync, Admin Portal and Magic Link.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • EJS 59.4%
  • CSS 25.8%
  • JavaScript 14.8%