Zum Inhalt springen

Willkommen

Standalone OAuth Authentication Server für Cloudflare Workers mit GitHub, Google, und WebAuthn Passkeys

🔐 OAuth2 Support

GitHub, Google, und Custom Provider Integration

🔑 WebAuthn Passkeys

Passwortlose Authentifizierung mit Biometrie

⚡ Serverless

Läuft auf Cloudflare Workers (kostenlos)

🪪 JWT Tokens

Sichere Token-basierte Authentifizierung

📦 Modulare Client Library

Verwendbar in React, Vue, Vanilla JS

🔄 Session Management

Automatisches Token-Refresh & Expiration Handling

Terminal-Fenster
# Projekt klonen
git clone https://github.com/felixlammers/oauth-auth-cloudflare.git
cd oauth-auth-cloudflare
npm install
# KV Namespace erstellen
wrangler kv:namespace create "AUTH_KV"
# Secrets konfigurieren
wrangler secret put OAUTH_PROVIDER
wrangler secret put OAUTH_CLIENT_ID
wrangler secret put OAUTH_CLIENT_SECRET
# Deployen
wrangler deploy
<!-- Nur diese 2 Zeilen in deine HTML-Datei einfügen: -->
<script
src="https://auth.deine-domain.de/client/simple-login-button.js"
data-auth-url="https://auth.deine-domain.de"
></script>
<div id="auth-button"></div>

Das war’s! 🎉 Der Login-Button wird automatisch gerendert.