Sample application that demonstrates how to use the WorkOS Node SDK for SSO and Directory Sync
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.
- Visit https://samplessoworkos.onrender.com
- Select Log In
- Via Okta, enter the email and password of the test user listed below
- Select View Team Members to view list of group members from the Okta directory
Test User Credentials
username: [email protected]
password: workosPassword1
Local Install Instructions
- Clone the main repo
git clone https://github.com/Patrick-Kelly-1330/node-SSO-sample.git
- Navigate into the node-sso-example directory
cd node-sso-sample/node-sso-example
- Install the dependencies
npm install
- 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
- Visit https://localhost:8000
- Select Log In
- Via Okta, enter the email and password of the test user listed above
- Select View Team Members to view list of group members from Okta directory