Skip to content

scalekit-inc/scalekit-go-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Go 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-go-example.git
# Install dependencies
go mod download
# 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:
go run main.go
Open http://localhost:8080 with your preferred browser

API Reference

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

About

Simple Go app illustrating approaches to Single Sign-On with Scalekit

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages