From 4b4f9e6bcfc66f08e5e72579b005239d7dac163d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 8 Oct 2026 10:00:48 +0200 Subject: [PATCH] docs(backends): remove obsolete Docker Hub setup guide The Docker Hub OAuth endpoints used by social-core are no longer available. Remove the setup guide and supported-backend listing to match the backend removal. Refs python-social-auth/social-core#1176 --- docs/backends/docker.rst | 35 ----------------------------------- docs/backends/index.rst | 1 - 2 files changed, 36 deletions(-) delete mode 100644 docs/backends/docker.rst diff --git a/docs/backends/docker.rst b/docs/backends/docker.rst deleted file mode 100644 index 832495ee..00000000 --- a/docs/backends/docker.rst +++ /dev/null @@ -1,35 +0,0 @@ -Docker -====== - -Backend class -------------- - -For Django, add this class path to ``AUTHENTICATION_BACKENDS``. For other -integrations, use the same class path in the framework-specific backend -setting. - -.. list-table:: - :header-rows: 1 - - * - Backend name - - Class path - * - ``docker`` - - ``social_core.backends.docker.DockerOAuth2`` - -Docker.io OAuth2 ----------------- - -Docker.io now supports OAuth2 for their API. In order to set it up: - -- Register a new application by following the instructions in their website: - `Register Your Application`_ - -- Fill **Consumer Key** and **Consumer Secret** values in settings:: - - SOCIAL_AUTH_DOCKER_KEY = '' - SOCIAL_AUTH_DOCKER_SECRET = '' - -- Add ``'social_core.backends.docker.DockerOAuth2'`` into your - ``SOCIAL_AUTH_AUTHENTICATION_BACKENDS``. - -.. _Register Your Application: http://docs.docker.io/en/latest/reference/api/docker_io_oauth_api/#register-your-application diff --git a/docs/backends/index.rst b/docs/backends/index.rst index be5f5a92..47e29387 100644 --- a/docs/backends/index.rst +++ b/docs/backends/index.rst @@ -71,7 +71,6 @@ Social backends discord discourse disqus - docker douban dribbble drip