Skip to content
Back to skills

Add Supabase Auth Android

ASecurity

Add Supabase Auth with Google Sign-In + email magic link on Android. Use when the user says 'supabase auth android', 'add auth android'.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 4, 2026
developmentgobashreact

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add khadinakbarlabs/expo-mobile-app-builder --skill add-supabase-auth-android --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Supabase Auth Android?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Supabase Auth Android
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khadinakbarlabs-add-supabase-auth-android/badge)](https://www.skillsdirectory.com/skills/khadinakbarlabs-add-supabase-auth-android)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "add-supabase-auth-android"
description: "Add Supabase Auth with Google Sign-In + email magic link on Android. Use when the user says 'supabase auth android', 'add auth android'."
---

# Supabase Auth (Android)

Same as iOS plugin's pattern. Android-specific notes.

## Install
```bash
pnpm add @supabase/supabase-js @react-native-async-storage/async-storage
npm exec --no -- expo install @react-native-google-signin/google-signin
```

## Google Sign-In flow
```tsx
const signInGoogle = async () => {
  const { idToken } = await GoogleSignin.signIn();
  const { error } = await supabase.auth.signInWithIdToken({
    provider: 'google',
    token: idToken,
  });
};
```

Supabase Auth → Providers → Google → enable, paste OAuth client IDs from Google Cloud.

## Magic link with deep link
Magic link callback opens app via Android App Link or scheme.

`app.json`:
```json
{
  "expo": {
    "scheme": "myapp",
    "android": {
      "intentFilters": [{
        "action": "VIEW",
        "data": [{ "scheme": "https", "host": "myapp.com", "pathPrefix": "/auth" }],
        "category": ["BROWSABLE", "DEFAULT"],
        "autoVerify": true
      }]
    }
  }
}
```

Universal links require `assetlinks.json` at `https://myapp.com/.well-known/assetlinks.json` with Play signing SHA-256.

## Common gotchas
- Magic link redirects to web instead of app → assetlinks.json missing or wrong SHA-256
- Supabase token refresh fails on long-idle app → AsyncStorage cleared by system, force re-auth

## Pair with
- `add-google-signin-credential-manager`
- iOS plugin's `add-supabase-auth`

Files in this skill

  • SKILL.md1.6 KB
  • agents/openai.yaml206 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.