{"id":15533332,"url":"https://github.com/b3b/django-supabase-auth","last_synced_at":"2025-04-23T13:43:47.232Z","repository":{"id":177422832,"uuid":"660335562","full_name":"b3b/django-supabase-auth","owner":"b3b","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-10T19:13:06.000Z","size":68,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T18:19:41.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b3b.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-29T19:23:42.000Z","updated_at":"2024-01-19T19:06:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f42ea69-262e-4384-8cf6-c5905b23479c","html_url":"https://github.com/b3b/django-supabase-auth","commit_stats":null,"previous_names":["b3b/django-supabase-auth"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fdjango-supabase-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fdjango-supabase-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fdjango-supabase-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fdjango-supabase-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b3b","download_url":"https://codeload.github.com/b3b/django-supabase-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250441485,"owners_count":21431176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T11:35:52.954Z","updated_at":"2025-04-23T13:43:47.216Z","avatar_url":"https://github.com/b3b.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============================\nDjango Supabase authentication\n==============================\n\n.. start-badges\n.. image:: https://img.shields.io/badge/stability-wip-lightgrey.svg\n    :target: https://github.com/b3b/django-supabase-auth\n    :alt: Stability\n.. image:: https://img.shields.io/pypi/v/django-supabase-auth.svg\n    :target: https://pypi.python.org/pypi/django-supabase-auth\n    :alt: Latest version on PyPi\n.. end-badges\n\n\nExperimental project aimed at exploring the integration of Supabase with Django.\n\nDisclaimer\n==========\n\nPlease note that this repository is for experimental purposes only. It may contain incomplete or unstable code. Use it at your own risk.\n\nInstallation\n============\n\nYou can install the latest released package version from PyPI using::\n\n    pip install django-supabase-auth[database]\n\nUsage\n=====\n\nDjango project settings.py\n--------------------------\n\nAdd `supa_auth` to INSTALLED_APPS::\n\n    INSTALLED_APPS = [\n        #  ... ,\n        \"rest_framework\",\n        \"supa_auth\",\n    ]\n\nFill in your Supabase database settings.\n\nRetrieve these values from the Supabase dashboard under Database Settings\n\nhttps://supabase.com/dashboard/project/_/settings/database .\n\nAt a minimum, ensure \"HOST\" and \"PASSWORD\" are configured::\n\n    DATABASES = {\n        \"default\": {\n            \"ENGINE\": \"supa_auth\",\n            \"HOST\": \"db.*.supabase.co\",\n            \"PASSWORD\": \"...\",\n            \"OPTIONS\": {\n                \"sslmode\": \"require\",\n            },\n        },\n    }\n\nThe `supa_auth` engine automatically populates \"NAME\" and \"USER\" to default values (\"postgres\")::\n\nDatabase migrations\n-------------------\n\nApply migrations to initialize the database::\n\n    python manage.py migrate\n\nChecking Setup\n--------------\n\nYou can verify the setup using the command-line database client::\n\n    python manage.py dbshell\n\n    postgres=\u003e SELECT count(*) FROM users;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3b%2Fdjango-supabase-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb3b%2Fdjango-supabase-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3b%2Fdjango-supabase-auth/lists"}