This repository contains a sample application demonstrating a B2B Magic Link and Google OAuth flow using a Go backend.
- Go
^v1.22
. - A Stytch account.
- A test project.
- The project id and project secret for your test project.
git clone [email protected]:stytchauth/stytch-go-b2b-magic-links.git
go get
cp .env.template .env.local
Populate the STYTCH_PROJECT_ID
and STYTCH_SECRET
in the new .env.local
file.
go run ./...
The service will be available at http://localhost:3000/.
This example app showcases a small portion of what you can accomplish with Stytch. Next, explore adding additional login methods, such as SSO.
Join the discussion, ask questions, and suggest new features in our Slack community!
Check out the Stytch Forum or email us at [email protected].