~/talk

Secure your Go APIs with Decentralised Identity Tokens

Talkat Conf42 Golang 2021 · on Thursday, 2021-06-24· [security, web-platform]
slides:none on file

Claims that Go APIs can use did token proofs signed with Ethereum personal_sign and encoded as base64 JSON are demonstrated end to end: a Go API built with Gorilla Mux gets wrapped in a checkBearerToken middleware that calls Magic Admin Go to validate tokens and run getMetadataByToken, returning email, issuer and public address. Demo uses a Next front end template, Postman tests, and a Scrappy Twitter CRUD example; tokens default to 15 minutes (demo shows an 8‑hour option), keys are protected with cloud HSMs, and new accounts get 10,000 free logins.

AI-written summary · about

  1. 0:00Securing Go APIs
  2. 1:14Password auth problems
  3. 3:00Zero knowledge & blockchain keys
  4. 4:02Magic improves DID tokens
  5. 5:25What is a DID token
  6. 7:10Generating DID tokens with Magic SDK
  7. 8:54Auth vs authorization
  8. 9:58Magic link login flow
  9. 12:04Basic Go API setup
  10. 14:12Protecting Go API routes with DID
  11. 18:48Validating DID tokens in Go
  12. 20:16Frontend DID token integration
  13. 21:42Testing routes with Postman
  14. 24:33Next steps & Magic setup
  15. 25:57Go REST API demo with Magic
  16. 28:46Resources and documentation links
  17. 30:10Recap & local setup
  18. 31:56More DID token resources
  19. 32:39Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.