Zum Inhalt springen

Simple Login Button

Die schnellste Möglichkeit, OAuth-Authentication in deine Seite zu integrieren.

<!-- Nur diese 2 Zeilen: -->
<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! 🎉

AttributBeschreibungStandard
data-auth-urlURL deines Auth-ServersErforderlich
data-show-profileBenutzer-Profil nach Login anzeigentrue
data-button-textText auf dem Login-Button"Login"
data-logout-textText auf dem Logout-Button"Logout"
<script
src="https://auth.deine-domain.de/client/simple-login-button.js"
data-auth-url="https://auth.deine-domain.de"
data-button-text="Mit GitHub anmelden"
data-logout-text="Abmelden"
data-show-profile="true"
></script>
<div id="auth-button"></div>