Skip to content

About

ErisPulse 统一身份中心(OAuth Provider)与创作者工作台

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

English | 简体中文 | 繁體中文 | 日本語 | Русский

ErisPulse-Workbench

ErisPulse-Workbench

ErisPulse unified identity center (OAuth Provider) & creator workbench

License ErisPulse


Deploy

wrangler login
wrangler d1 create erispulse-workbench   # put database_id into wrangler.toml
wrangler d1 execute erispulse-workbench --remote --file=schema.sql
wrangler deploy

The first registered account becomes admin.

Environment variables (optional)

Variable Purpose
GITHUB_CLIENT_ID/SECRET GitHub OAuth login
CODEBERG_CLIENT_ID/SECRET Codeberg OAuth login
YUNHU_CLIENT_ID/SECRET Yunhu OAuth login
SMTP_HOST/PORT/USER/PASS, MAIL_FROM Email verification codes
MODULE_REPO_TOKEN Dispatch module-management operations to ModuleRepo

Unconfigured login methods are hidden automatically.

OAuth integration

Endpoint Method Description
/oauth/authorize GET Authorization entry, params client_id redirect_uri state
/oauth/token POST Exchange code + client_secret for access_token
/api/userinfo GET Bearer; returns uid/username/display_name/role

Each login method requires an OAuth app on the corresponding platform, with the callback set to https://<your-domain>/ (same origin as the login entry). Any logged-in user can register a client on the "Connected apps" page (the client_secret is shown only once at generation).

Structure

public/          Frontend (static)
public/vendor/   Third-party single-file libs (qrcode-generator, MIT)
src/worker.js    Worker backend
schema.sql       D1 schema

License

MIT (public/vendor/qrcode.js from qrcode-generator, MIT)

About

ErisPulse 统一身份中心(OAuth Provider)与创作者工作台

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages