https://github.com/replit/go-replidentity
Go implementation of Repl Identity
https://github.com/replit/go-replidentity
Last synced: 10 months ago
JSON representation
Go implementation of Repl Identity
- Host: GitHub
- URL: https://github.com/replit/go-replidentity
- Owner: replit
- License: mit
- Created: 2022-07-06T20:11:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-19T20:15:17.000Z (12 months ago)
- Last Synced: 2025-03-24T15:47:35.262Z (11 months ago)
- Language: Go
- Size: 247 KB
- Stars: 9
- Watchers: 34
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repl Identity
Blog post on https://blog.replit.com coming soon!
Repl Identity stores a `REPL_IDENTITY` token in every Repl automatically. This
token is a signed [PASETO](https://paseto.io) that includes verifiable repl
identity data (such as the user in the repl, and the repl ID).
This package provides the necessary code to verify these tokens.
Check the example at `examples/extract.go` for an example usage. You can also
see this in action at https://replit.com/@mattiselin/repl-identity. If you are
logged in to Replit, you'll see your username when you click "Run" on the Cover
Page - that's Repl Identity at work.