Identity provider: Supabase Auth

Suspicious login detection for Supabase Auth

Detect risky logins inside Supabase Auth hooks and Edge Functions.

Add LoginLlama to Supabase Auth in one call

Call LoginLlama from your Supabase Auth login handler before you create the session. Send the email, IP, and user agent, then allow, challenge, or block based on the returned risk score.

Supabase Auth login check
curl -X POST https://loginllama.app/api/v1/login/check \
  -H "X-API-KEY: $LOGINLLAMA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/vnd.api+json" \
  -d '{
    "identity_key": "[email protected]",
    "ip_address": "203.0.113.42",
    "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X)",
    "geo_country": "US"
  }'
# A risk_score above 5 means challenge or block the login.

Why teams choose LoginLlama for Supabase Auth

Score every login in under 100ms

Detect VPNs, proxies, and TOR exit nodes

Explain why a login is risky with clear risk reasons

Catch errors from the check and logins go ahead during an outage

How it works

Step 1

Install or connect LoginLlama

Choose the SDK or integration point that fits your auth flow and add your API key.

Step 2

Check risk at login time

Send the email, IP, and device context before completing authentication.

Step 3

Act on the risk score

Allow, challenge, or block the login based on risk score and reasons.

Signals we analyze

New device or browser fingerprints

Impossible travel and velocity checks

Bot-like login bursts and credential stuffing

Geo anomalies and risky IP reputation

Works well with your Supabase Auth stack

Edge FunctionsAuth hooksServerless routes

Supabase Auth login security FAQ

How do I add suspicious login detection to Supabase Auth?

Make a single POST request to https://loginllama.app/api/v1/login/check from your Supabase Auth login handler before you create the session. Send the user's email, IP address, and user agent, and branch on the returned risk score.

Will LoginLlama slow down Supabase Auth logins?

No. Risk scoring returns in under 100ms. If LoginLlama is unreachable the check throws an error, so catch it and let the Supabase Auth login go ahead. An outage then never blocks a real user.

What does LoginLlama detect on Supabase Auth logins?

New devices and browser fingerprints, impossible travel and login velocity, credential-stuffing bursts, and traffic from VPNs, proxies, TOR exit nodes, and high-risk IPs — each returned with a clear, human-readable reason code.

Does LoginLlama work with Edge Functions, Auth hooks, Serverless routes?

Yes. LoginLlama runs at the login step itself, so it works alongside Edge Functions, Auth hooks, Serverless routes and the rest of your Supabase Auth stack without replacing your existing authentication provider.

Other integrations

LoginLlama works with the same single API call across every stack.

Supabase Auth login protection

Protect Supabase Auth users from suspicious logins

Add LoginLlama in minutes and block risky logins in real time.

Start with 100 free checks