Skip to content

stytchauth/stytch-b2b-go-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stytch: B2B Magic Links Example

This repository contains a sample application demonstrating a B2B Magic Link and Google OAuth flow using a Go backend.

Running Locally

Prerequisites

  • Go ^v1.22.
  • A Stytch account.
    • A test project.
    • The project id and project secret for your test project.

Quickstart

1. Clone the repo.

git clone [email protected]:stytchauth/stytch-go-b2b-magic-links.git

2. Install dependencies.

go get

3. Populate environment variables.

cp .env.template .env.local

Populate the STYTCH_PROJECT_ID and STYTCH_SECRET in the new .env.local file.

4. Run the application.

go run ./...

The service will be available at http://localhost:3000/.

Next steps

This example app showcases a small portion of what you can accomplish with Stytch. Next, explore adding additional login methods, such as SSO.

Get help and join the community

💬 Stytch community Slack

Join the discussion, ask questions, and suggest new features in our ​Slack community!

❓ Need support?

Check out the Stytch Forum or email us at [email protected].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published