Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.62 KB

README.md

File metadata and controls

57 lines (43 loc) · 1.62 KB


Express.js Example App

Scalekit is an Enterprise Authentication Platform purpose built for B2B applications. This Go SDK helps implement Enterprise Capabilities like Single Sign-on via SAML or OIDC in your Golang applications within a few hours.


Pre-requisites

  1. Sign up for a Scalekit account.
  2. Get your env_url, client_id and client_secret from the Scalekit dashboard.

How to Run

# Clone the repository
git clone --recursive https://github.com/scalekit-inc/scalekit-express-example.git
# Install scalekit-express-example dependencies
npm install
# Update .env file with env_url, client_id and client_secret fetched from the Scalekit dashboard as below
SCALEKIT_ENV_URL = env_url
SCALEKIT_CLIENT_ID = client_id
SCALEKIT_CLIENT_SECRET = client_secret
# Run the server:
npm start
Open http://localhost:8080 with your preferred browser

API Reference

See the Scalekit API docs for more information about the API and authentication.