No backend. No OAuth flow. No API keys.

SSO in
two HTML tags.

One script. One link. That's it.

index.html
<!-- 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.

https://

How to retrieve the token

Pick your stack. Paste. Done.

JavaScript Vanilla JS
<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>

Branded login pages, for free

Every app gets a hosted login page at {your-slug}.loginwith.page — with your name, title, and favicon. No frontend code required.

  • Every provider, rendered with the right brand buttons
  • Multi-tenant ready — single page can serve multiple clients
  • Handles PKCE, code exchange, and session cookies for you
acme.loginwith.page
A

Sign in to Acme

Continue with Google
Continue with GitHub
Continue with Microsoft
Continue with LinkedIn
Continue with GitLab
Continue with X
Continue with Meta
Continue with Apple

Supported Providers

Social, professional, and developer identities — all from a single endpoint.

Live

Google

google.loginwith.link
Live

GitHub

github.loginwith.link
Live

Microsoft

microsoft.loginwith.link
Live

LinkedIn

linkedin.loginwith.link
Live

GitLab

gitlab.loginwith.link
Live

X

x.loginwith.link
Soon

Meta

meta.loginwith.link
Soon

Apple

apple.loginwith.link

How It Works

Three simple steps. No configuration needed.

1

Add a Link

Simply add a link to google.loginwith.link on your website.

2

User Authenticates

User clicks the link and authenticates with their chosen provider. We handle all the OAuth complexity.

3

Receive User Data

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.

Frequently asked questions

Do I need a backend?

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.

What is a managed user?

Any person you store and manage with LoginWith — customer, employee, or member.

Do I pay for all users?

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 do I need SAML or SCIM?

When your customers ask for:

  • SSO with their company account
  • automated user provisioning

You typically don't need it until you sell to enterprises — which is why it's a paid add-on priced per enterprise customer.

Can I migrate later?

Yes. Start with Free and upgrade anytime without breaking your setup. No contracts, no commitments.

Start simple. Add complexity only when you need it.

Ready to Simplify Your Authentication?

Drop in your domain. Pick a provider. Done.

https://
Or open the console