One script. One link. That's it.
<!-- Load the SDK once, anywhere on your page -->
<script defer async src="https://acme.loginwith.dev/cdn/sdk-latest"></script>
<!-- That's it. Seriously. -->
<a href="https://google.loginwith.link">
Sign in with Google
</a>Handles PKCE, tokens, and sessions — out of the box.
Pick your stack. Paste. Done.
<script defer src="https://acme.loginwith.dev/cdn/sdk-latest"></script>
<script type="module">
lgw.on("token", ({ access_token }) => {
axios.defaults.headers.common.Authorization = `Bearer ${access_token}`
})
const me = await lgw.users.me()
console.log(`Welcome, ${me.first_name}`)
</script>Every app gets a hosted login page at {your-slug}.loginwith.page — with your name, title, and favicon. No frontend code required.
Social, professional, and developer identities — all from a single endpoint.
Three simple steps. No configuration needed.
Simply add a link to google.loginwith.link on your website.
User clicks the link and authenticates with their chosen provider. We handle all the OAuth complexity.
User is redirected back to your site with their profile information. That's it!
Zero-config link
Drop google.loginwith.link into your site. We use the referer header to identify you — no API keys, no
client IDs, no backend code.
Full OAuth when you need it
Need access tokens, refresh tokens, or a session API? Install @loginwith/sdk for OAuth 2.0 + PKCE with JWTs and JWKS validation.
No for basic auth. You can authenticate users and retrieve tokens client-side with just HTML + the SDK. You only need a backend if your app has its own APIs or business logic.
Any person you store and manage with LoginWith — customer, employee, or member.
No. You only pay for managed users — the ones we actively handle. If you manage users yourself, LoginWith is free.
Users inactive for 90 days are not billed either. They can log back in anytime.
When your customers ask for:
You typically don't need it until you sell to enterprises — which is why it's a paid add-on priced per enterprise customer.
Yes. Start with Free and upgrade anytime without breaking your setup. No contracts, no commitments.
Start simple. Add complexity only when you need it.
Drop in your domain. Pick a provider. Done.
Or open the console