fcakyon/claude-codex-settings/app-auth
Claude Code and agent skill by fcakyon/claude-codex-settings
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "standardize app authentication", "share login across web, mobile and TV", "reuse the Google login flow", "simplify signup", "fix password recovery", or "fix popup-blocked login". Use shared account/session contracts, email and Google web adapters, and an optional auth panel. Native and TV flows are integration contracts awaiting device validation.
Install
npx vskill@latest install fcakyon/claude-codex-settings/app-authSKILL.md
App authentication
Use full-page, same-tab social login by default and offer the last successfully used profile, saved after every verified login unless the product needs an opt-in checkbox. Google and the browser decide whether account selection or reauthentication is required. Do not promise silent login or call a flow fastest without measurements.
- Inspect login, signup, email verification, recovery, session, logout, account linking and authorization. Identify the selected action, locales, design system and registered Google callback.
- Read integration. For React 19.2+, adapt GoogleSignIn.tsx and its styles. Use the optional AuthPanel with panel styles for a minimal auth shell. Other frameworks should implement the same contract using their own lifecycle primitives.
- Use login.ts for framework-independent navigation and last-login profile storage. React hosts can wrap their existing forms in RememberedLogin. Run
npm run devin the plugin directory for the Vite demo. Its provider and email flows are simulations. - For PocketBase apps, map enabled auth methods with pocketbase.ts and read the optional PocketBase section in the integration contract. Native token-link recovery, OTP, MFA and app session ownership remain explicit host responsibilities.
- For email/password flows, adapt EmailAuth.tsx and email styles. Read the email adapter section in the integration contract. Use email-design for messages sent by those flows.
- Use GoogleSignIn with
label,redirectEndpointandreturnTofor full-page login without GIS. The old credential adapter remains available for existing popup integrations. A saved email may be a provider hint only. The provider still verifies identity. “Sign in with another profile” opens all configured methods and usesprompt=select_accountwithout a hint. - Resolve return navigation in the auth owner using
pendingReturnToandoauthErrorReasonin login.ts (plus optionalonSelecton SocialSignIn.tsx) so unsafe external origins,//, and\are rejected and cancelled or expired OAuth redirects surface localized feedback. Both paths must use the same account/session policy, then resume the action once. Only the backend verifies identity and authorizes access. - Gate
Session/profileand SSR session reads on the session cookie before hitting backend/database APIs, use PKCES256with600–900sHttpOnlySameSite=Laxstate cookies (Cache-Control: no-store), clear the state cookie once on every outcome (success, mismatch, expiry, cancellation), recover callback failures with3xxredirects to the localized UI instead of raw401JSON, allow all supported locale prefixes inreturnTo, and verify the live endpoints without credentials usingnode scripts/check-oauth.mjs --start <url> --callback <url> --origin <origin> --locales en,tr,ar. - Run the applicable journeys through the project's existing QA harness. Keep fixture results, real Google evidence and deployed behavior distinct.
- Record the app commit, runtime versions and actual evidence in its existing tracked guidance. Change the shared recipe only when new evidence changes a shared rule.
The app owns script loading, public client configuration, sessions, error reporting and navigation. The component owns rendering, pending/error UI and cancelling its credential operation when the auth surface closes.
For architecture standardization, read backend standard. It is a proposed target, not an implemented Go dependency or completed migration.
For web/native/TV clients or another social provider, read platforms and providers. Use one identity store and revocation model per product across its clients. Keep browser cookies and native secure-storage transport distinct.
Curation
Read provenance before claiming production coverage. Distinguish a shipped reference, a tested extraction and a pending app integration. Add future components as focused skills with code, integration contracts and behavior tests when an actual app supplies the evidence. Do not add empty catalogs or treat a component PR as permission to deploy another app.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/reusable-app-components/skills/app-auth/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fcakyon/claude-codex-settings/app-auth)