electron-betterauth

Community

Secure Electron auth with OS encryption.

Authorichabodcole
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This recipe provides a secure authentication workflow for Electron apps by using OS-level token encryption via safeStorage and a main/renderer IPC bridge, addressing the mismatch between browser cookies and desktop app security.

Core Features & Use Cases

  • Token encryption in the main process with safeStorage
  • Secure persistence using electron-store alongside encryption
  • Minimal, restricted IPC surface exposed to the renderer and automatic token refresh

Quick Start

Integrate this recipe by wiring the secure storage service, preload bridge, and BetterAuth client, then initialize authentication during app startup.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: electron-betterauth
Download link: https://github.com/ichabodcole/project-docs-scaffold-template/archive/main.zip#electron-betterauth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.