/nathans-node-auth-app

Example Node applications demonstrating the power of the WorkOS Node SDK to support SSO, Directory Sync

Primary LanguageEJS

Node.js Example App with SSO & Directory Sync

This is a monorepo which showcases authenticating users via SSO and Directory Sync. The two services we are using are WorkOS as the service provider and Okta as the identity provider.

workos-demo

Clone the repo

$ https://github.com/NathanTarbert/nathans-node-auth-app.git

Change directories into the app

$ cd nathans-node-auth-app

ENVs

copy the example.env to .env in each folder and fill in the values.

Running the application

We will install all dependencies in each app and run two servers with one command.

$ npm run start:both

What you will see in the terminal is

Navigate to localhost:8000 to begin loggin in.

Need help?

Reach out to me on Twitter if you have any questions.