{% comment %} Social provider buttons shared by the login and signup pages. This snippet is pulled in via a render-time include guarded by SOCIALACCOUNT_ENABLED in the parent template, so the socialaccount tag library below is never loaded when allauth.socialaccount is not in INSTALLED_APPS — the parent pages keep working without it. Expected context (set by the parent's include tag): process — "login" or "signup", forwarded to provider_login_url verb — button label prefix, e.g. "Continue" or "Sign up" {% endcomment %} {% load dj_auth socialaccount %} {% get_configured_providers as socialaccount_providers %} {% if socialaccount_providers %} {% if process == "login" and PASSKEY_LOGIN_ENABLED %}