An open API service indexing awesome lists of open source software.

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

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.