Enjoy your socks!
27 |We'll see you next time.
28 |├── .gitignore ├── assets ├── images │ ├── arrow.png │ ├── person.png │ ├── shopping-bag.png │ └── hellosocks-background.png └── css │ └── styles.css ├── public └── example-app-image.png ├── .env.template ├── .github └── dependabot.yml ├── CODEOWNERS ├── go.mod ├── templates ├── loggedOut.html ├── emailSent.html ├── loggedIn.html └── loginOrSignUp.html ├── LICENSE ├── README.md ├── go.sum └── main.go /.gitignore: -------------------------------------------------------------------------------- 1 | .env.local -------------------------------------------------------------------------------- /assets/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-go-magic-links/HEAD/assets/images/arrow.png -------------------------------------------------------------------------------- /assets/images/person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-go-magic-links/HEAD/assets/images/person.png -------------------------------------------------------------------------------- /assets/images/shopping-bag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-go-magic-links/HEAD/assets/images/shopping-bag.png -------------------------------------------------------------------------------- /public/example-app-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-go-magic-links/HEAD/public/example-app-image.png -------------------------------------------------------------------------------- /assets/images/hellosocks-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-go-magic-links/HEAD/assets/images/hellosocks-background.png -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- 1 | # The below values may be found in your Stytch Dashboard: https://stytch.com/dashboard/api-keys 2 | STYTCH_PROJECT_ENV=test 3 | STYTCH_PROJECT_ID="YOUR_STYTCH_PROJECT_ID" 4 | STYTCH_SECRET="YOUR_STYTCH_SECRET" -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: gomod 4 | directory: "/" 5 | allow: 6 | - dependency-name: github.com/stytchauth/stytch-go 7 | schedule: 8 | interval: daily -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Stytch code owners file 2 | 3 | # These owners will be the default owners for everything in 4 | # the repo. Unless a later match takes precedence, 5 | # @stytchauth/developer-relations will be requested for 6 | # review when someone opens a pull request. 7 | * @stytchauth/developer-relations @stytchauth/engineering 8 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/stytchauth/stytch-go-magic-links 2 | 3 | go 1.15 4 | 5 | require ( 6 | github.com/MicahParks/keyfunc/v2 v2.1.0 // indirect 7 | github.com/golang-jwt/jwt/v5 v5.2.1 // indirect 8 | github.com/gorilla/mux v1.8.1 9 | github.com/gorilla/sessions v1.2.2 10 | github.com/joho/godotenv v1.5.1 11 | github.com/kr/pretty v0.3.1 // indirect 12 | github.com/rogpeppe/go-internal v1.12.0 // indirect 13 | github.com/stytchauth/stytch-go/v12 v12.5.1 14 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect 15 | ) 16 | -------------------------------------------------------------------------------- /templates/loggedOut.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |We'll see you next time.
28 |Check your inbox (including the promotions folder)
for the login link.
Didn't find it? Send it again.
29 |Your socks just can't wait to be shipped!
28 | 34 |Sign up or log in to place your order.
No password required!
