Skip to content

Dial-WTF/openfort-shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Recovery Endpoint - Vercel

One-click deploy Openfort Shield recovery endpoint on Vercel Functions.

Deploy with Vercel

Environment Variables

Set these in Vercel during deployment:

  • SHIELD_PUBLISHABLE_KEY: Your Shield publishable API key
  • SHIELD_SECRET_KEY: Your Shield secret API key
  • SHIELD_ENCRYPTION_SHARE: Your Shield encryption share

API Endpoint

Creates a POST endpoint at /api/shield-session that:

  1. Accepts a POST request
  2. Calls the Shield encryption-session API
  3. Returns the session ID

Response format:

{
  "session": "session_id_here"
}

Local Development

npm install
npm run dev

Features

  • Serverless functions
  • Automatic HTTPS
  • Environment variable management
  • TypeScript support

Support

For issues with Openfort Shield: Openfort Documentation

For Vercel: Vercel Documentation

License

MIT

Releases

No releases published

Packages

No packages published