enable-auth
Enable Google and Apple social sign-in on top of Firebase Auth — enable the providers, set GOOGLE_WEB_CLIENT_ID, wire iOS Info.plist client IDs, add the iOS…
Skill by KotlinFoundation
Chalk Labs
Need help deploying enable-auth?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kotlinfoundation-enable-auth
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/enable-auth
What's inside
- Skill name
enable-auth- Description
- Enable Google and Apple social sign-in on top of Firebase Auth — enable the providers, set GOOGLE_WEB_CLIENT_ID, wire iOS Info.plist client IDs, add the iOS Sign In with Apple capability, and confirm the AUTH_SOCIAL_LOGIN_ENABLED flag. Use when the developer wants social login / Google or Apple sign-in in the app.
- License
- MIT
- Instructions
- 92 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Enable social auth (Google + Apple)
**This is an opt-in upgrade.** The easiest path to a working app is **anonymous auth only** — just
Firebase + Anonymous sign-in (done in `setup-firebase`), which needs none of the keys below. Only run
this skill if the developer explicitly wants Google/Apple sign-in.
Adds Google and Apple sign-in on top of the base Firebase project. Requires `setup-firebase` done
first (project + registered apps + anonymous auth). Auth is implemented directly with the **KMPAuth**
library (the `KMPAuth` facade — `currentUser()`, `currentUserFlow`, `currentUserIdToken()`,
`signInAnonymously()`, `signOut()`, `deleteAccount()`, `reauthenticate()`) — cross-platform, including
desktop and web; there is no in-repo auth module. `UserRepository` wraps it (`continueAsGuest()`,
`logOut()`, `deleteAccount()`, `currentUser`), and `SignInScreen` renders the social buttons via
`rememberGoogleAuthState` / `rememberAppleAuthState`. You're supplying credentials, not writing auth code.
## 1. Turn on the feature flag — Agent Action
In `shared/src/commonMain/kotlin/com/kotlinfoundation/koko/root/AppConfiguration.kt`:
```kotlin
const val AUTH_SOCIAL_LOGIN_ENABLED = true
```
Default is `false` (anonymous/guest only — the social buttons are hidden). Set it to `true` to show
the Apple + Google buttons, then complete steps 2–4 to supply the credentials they need.
## 2. Enable providers in Firebase — User Action
Firebase Console → **Authentication → Sign-in method**:
- Enable **Google**.
- Enable **Apple**.
After enabling, re-download `google-services.json` (Android) and `GoogleService-Info.plist` (iOS)
and replace the files placed in `setup-firebase` — enabling a provider can change the config.
## 3. Google sign-in — Web client ID — User Action
Google sign-in on **both** Android and iOS uses the Firebase **Web client ID**.
- Find it in Firebase → Auth → Google provider (or Google Cloud → APIs & Services → Credentials →
"Web client (auto created by Google Service)").
- Put it in `MobileApp/local.properties`:
```properties
GOOGLE_WEB_CLIENT_ID=1234567890-abcdef.apps.googleusercontent.com
```
### iOS Info.plist — User Action
In `MobileApp/iosApp/iosApp/Info.plist`, fill these using values from `GoogleService-Info.plist`
(`CLIENT_ID`, `REVERSED_CLIENT_ID`) and the same Web client ID:
```xml
<key>GIDServerClientID</key>
<string>YOUR_WEB_CLIENT_ID</string>
<key>GIDClientID</key>
<string>YOUR_IOS_CLIENT_ID</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>YOUR_DOT_REVERSED_IOS_CLIENT_ID</string>
</array>
</dict>
</array>
```
## 4. Apple sign-in — User Action
**iOS:** In Xcode → target → **Signing & Capabilities → + → Sign In with Apple**.
**Android (Apple via web flow):** needs an Apple Developer setup —
1. Create a **Sign In with Apple** auth key (`.p8`); note the **Key ID** and **Team ID**.
2. Create a **Service ID** (e.g. `com.yourcompany.yourapp.auth`), enable Sign In with Apple,
configure with the Primary App ID, and set:
- Return URL: `https://<your-app-id>.firebaseapp.com/__/auth/handler`
- Domain: `<your-app-id>.firebaseapp.com`
3. In Firebase → Auth → Apple provider, paste the `.p8` content, Key ID, Team ID, and Service ID.
## 5. Validate — Validation
Build and run (Android is fastest — `./gradlew :androidApp:assembleDebug` from `MobileApp/`, then
launch). On `SignInScreen`, Google and Apple buttons should appear and complete a real sign-in;
**Continue as guest** should still work (calls `continueAsGuest()`).
## Next
Deploy the AI web proxy and make an authenticated remote call → `integrate-web-proxy`.From KotlinFoundation/kmp-contest-starter-kit, MIT.
More from KotlinFoundation/kmp-contest-starter-kit
- 0.609score
add-api-service
KotlinFoundation
Add a Ktor-backed network request end-to-end — request/response DTOs, an API service, a repository, and a ViewModel call.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
capture-app-screens
KotlinFoundation
Render the app's own screens to plain PNGs at storefront pixel sizes (1284×2778 etc.) from @Preview @StoreScreenshot composables — the real UI and nothing…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
add-permission
KotlinFoundation
Request a runtime permission (notifications, camera, gallery out of the box; location, microphone or any other after adding its Calf module) via the app-level…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
getting-started
KotlinFoundation
Phase-1 blueprint for the KMP starter kit — get the app running locally on your own device, rebrand it, and build your MVP features from the PRD (all…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
publish-release
KotlinFoundation
Build the signed release artifacts and ship them — Android AAB to a Play track and iOS archive to TestFlight/App Store, via Fastlane lanes or the tag-driven…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
refactor-package
KotlinFoundation
Rename the app's package / applicationId / iOS bundle ID and display name across the whole project.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
run-quality-gates
KotlinFoundation
Run the same lint, test, screenshot, and build checks as CI.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
configure-environment
KotlinFoundation
Reference catalog (a lookup, not a setup action) of every environment configuration value — local.properties API keys, the gradle.properties subscription…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
setup-analytics
KotlinFoundation
Enable Firebase Analytics, Crashlytics, and Remote Config feature flags in the KMP app — log events, add a flag, toggle it at runtime via Remote Config, and…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
setup-appstore-connect
KotlinFoundation
Manually create and configure the app in App Store Connect — bundle id, version, categories, age rating, privacy, review info, and localized metadata.
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
setup-subscriptions
KotlinFoundation
Wire up in-app subscriptions in KMPStarterKit — pick the provider (Adapty default or RevenueCat) via one gradle property, add the two SDK keys, create store…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
sync-data-firebase
KotlinFoundation
Sync app data to Firebase — Firestore documents, cross-device sync, server-authoritative state (credit balances, settings, user profiles, saved items).
SkillBFreshness: B★ 28Claude Code +9
Signals
- Stars
- 28
- Forks
- 13
- Open issues
- 1
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from KotlinFoundation
- 0.609score
add-permission
KotlinFoundation
Request a runtime permission (notifications, camera, gallery out of the box; location, microphone or any other after adding its Calf module) via the app-level…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
capture-app-screens
KotlinFoundation
Render the app's own screens to plain PNGs at storefront pixel sizes (1284×2778 etc.) from @Preview @StoreScreenshot composables — the real UI and nothing…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
configure-environment
KotlinFoundation
Reference catalog (a lookup, not a setup action) of every environment configuration value — local.properties API keys, the gradle.properties subscription…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
getting-started
KotlinFoundation
Phase-1 blueprint for the KMP starter kit — get the app running locally on your own device, rebrand it, and build your MVP features from the PRD (all…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
publish-release
KotlinFoundation
Build the signed release artifacts and ship them — Android AAB to a Play track and iOS archive to TestFlight/App Store, via Fastlane lanes or the tag-driven…
SkillBFreshness: B★ 28Claude Code +9 - 0.609score
add-api-service
KotlinFoundation
Add a Ktor-backed network request end-to-end — request/response DTOs, an API service, a repository, and a ViewModel call.
SkillBFreshness: B★ 28Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get enable-auth running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
enable-auth skill. Agent Mart. https://agentmart.dev/skills/kotlinfoundation-enable-auth (last updated 2026-10-24)