agentleFS
dekozadekoza/oh-my-slop/skills/reference/django-allauth/SKILL.md

django-allauth

Skill4 starsChanged 9 months agoUnlicenseView on GitHub

Use when integrating, customizing, or debugging django-allauth: signup/login flows, email verification, password reset, social login and provider setup, MFA, user sessions, headless/API auth, or allauth acting as identity provider. Triggers on: "allauth", "SocialApp", "social login", "OAuth provider", "email verification", "MFA", "headless auth", "account adapter".

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill for django-allauth integration, customization, and debugging.

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Django-Allauth Reference

Use this skill for django-allauth integration, customization, and debugging. Identify the owning allauth surface first, then read only the matching reference file or files. Allauth's central customization concept is the adapter — nearly every behavior override belongs in an adapter subclass, not a view override.

Customization Decision Procedure

Work down this ladder and stop at the first level that can express the behavior:

  1. Verify installed allauth apps — Check INSTALLED_APPS before giving guidance: socialaccount, mfa, usersessions, headless, and allauth.idp.oidc are optional and often absent.
  2. Settings — Look for an ACCOUNT_* / SOCIALACCOUNT_* / MFA_* / HEADLESS_* setting first; most behavior toggles live there.
  3. Adapters — Subclass DefaultAccountAdapter / DefaultSocialAccountAdapter (and their mfa/headless counterparts) and override the relevant hook. This is where custom logic belongs by default.
  4. Forms — Replace forms via ACCOUNT_FORMS / SOCIALACCOUNT_FORMS when the change is about fields or validation.
  5. Signals and templates — Use signals for side effects, template overrides for presentation.
  6. SocialApp / sites configuration — Put provider credentials and multi-site behavior in database-backed SocialApp or django.contrib.sites / SITE_ID setup, deciding deliberately which one owns it.
  7. Custom views — last resort — Only when none of settings, adapters, forms, signals, templates, or SocialApp configuration covers the behavior.

Along the way:

  • Distinguish the three auth surfaces — browser/session auth (account), token/API auth (headless, incl. X-Session-Token and JWT strategy boundaries), and identity-provider mode (idp). socialaccount is consumer login with external providers; idp is allauth being the provider itself.
  • Route provider specifics through the references — Use references/providers-index.md and provider files instead of inventing callbacks, scopes, claims behavior, or console setup.
  • Check version sensitivity — For headless, IdP, MFA, proxy-aware rate limits, and provider UID handling, consult references/version-notes.md; behavior in these areas changes across releases.

When Not To Use This Skill

  • Core Django behavior outside allauth extension points -> load django alongside
  • Broad DRF API architecture unrelated to allauth.headless -> load drf alongside
  • Pure response-code semantics -> load http-status-codes
  • Generic OAuth/OIDC/SAML theory with no allauth integration work -> use upstream protocol docs

Routing

Use forFile
Cross-file routing and reading orderreferences/REFERENCE.md
Setup, URLs, INSTALLED_APPS, sites, email prerequisitesreferences/installation-and-wiring.md
Signup/login/logout, password reset, email verification/management, phone, account adaptersreferences/account.md
Social login architecture, SocialApp, account linking, disconnecting, social adaptersreferences/socialaccount-core.md
Provider discovery, provider-family routing, callback patternsreferences/providers-index.md
Google, Apple, GitHub, Microsoft, OIDC, SAML specificsreferences/providers-major.md
MFA, TOTP/WebAuthn, reauthenticationreferences/mfa.md
Session tracking, listing, revocationreferences/usersessions.md
SPA/mobile/API auth, CORS, JWT/session token strategyreferences/headless.md
Acting as an OpenID Connect providerreferences/idp-openid-connect.md
Shared templates/messages/admin/email/rate limitsreferences/common-customization.md
Broken tests, callbacks, sites, confirmation flows, runtime confusionreferences/testing-and-troubleshooting.md
Release-sensitive behavior and recent changesreferences/version-notes.md

Compound tasks cross surfaces — combine references: e.g. "Google login on a headless project" -> socialaccount-core.md + providers-major.md + headless.md. Open one primary file first; add a second only when provider-specific behavior, SocialApp/sites boundaries, or release changes materially affect the answer.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.