faydauth is a Go library to integrate Fayda Digital ID authentication, SSO, and token management (JWT + refresh tokens). Supports Redis or in-memory caching for storing tokens.
- Authenticate users via Fayda API (VeriFayda / eSignet)
- Generate JWT access tokens
- Generate refresh tokens with TTL
- Validate and revoke refresh tokens
- Support for Redis or in-memory cache
- Easy integration into your Go services
go get github.com/Adonay-Dev/faydauth