{"id":16464899,"url":"https://github.com/alikhachev/django-simpletwitchauth","last_synced_at":"2026-03-16T16:39:49.969Z","repository":{"id":57421986,"uuid":"96531220","full_name":"ALikhachev/django-simpletwitchauth","owner":"ALikhachev","description":"Use this simple module to easily enable authorization in your Django application via Twitch API","archived":false,"fork":false,"pushed_at":"2019-02-03T21:07:04.000Z","size":10,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T11:32:00.940Z","etag":null,"topics":["api","auth","authentication","authorization","django","login","social","twitch"],"latest_commit_sha":null,"homepage":"","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/ALikhachev.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}},"created_at":"2017-07-07T11:12:50.000Z","updated_at":"2023-02-09T00:27:39.000Z","dependencies_parsed_at":"2022-09-06T06:13:21.573Z","dependency_job_id":null,"html_url":"https://github.com/ALikhachev/django-simpletwitchauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fdjango-simpletwitchauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fdjango-simpletwitchauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fdjango-simpletwitchauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ALikhachev%2Fdjango-simpletwitchauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ALikhachev","download_url":"https://codeload.github.com/ALikhachev/django-simpletwitchauth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221849614,"owners_count":16891496,"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":["api","auth","authentication","authorization","django","login","social","twitch"],"created_at":"2024-10-11T11:30:19.680Z","updated_at":"2026-03-16T16:39:49.936Z","avatar_url":"https://github.com/ALikhachev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple Twitch auth\n==================\n\n| Wanna enable your awesome Django application to register and\n  authenticate user using Twitch profiles?\n| This application was created especially for your needs\n\nFeatures\n--------\n\n-  Easy to use\n-  Ready to Twitch channel name changes\n-  Username cases are synchronized to Twitch display\\_name\n-  User emails are synchronized to Twitch\n\nInstallation\n------------\n\nEnsure that `Django �sites� framework`_ is enabled.\n\nPython package |Downloads|\n~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. |Downloads| image:: https://pepy.tech/badge/django-simpletwitchauth\n   :target: https://pepy.tech/project/django-simpletwitchauth\n\n::\n\n    pip install django-simpletwitchauth\n\nsettings.py:\n~~~~~~~~~~~~\n\nAdd ``twitch_auth`` to INSTALLED\\_APPS\n\nAdd ``twitch_auth.backends.OAuth2Backend`` to AUTHENTICATION\\_BACKENDS\n\nSet `Twitch application`_ settings\n\nExample using django-environ:\n\n::\n\n    env = environ.Env()\n\n    TWITCH_AUTH_CLIENT_ID = env('TWITCH_CLIENT_ID', default='some_client_id')\n    TWITCH_AUTH_CLIENT_SECRET = env('TWITCH_CLIENT_SECRET', default='some_client_secret')\n\nAll available settings:\n^^^^^^^^^^^^^^^^^^^^^^^\n\nTWITCH\\_AUTH\\_SCOPE\n'''''''''''''''''''\n\nDefines OAuth2 token scope\n\nDefaults to ``user_read``\n\nTWITCH\\_AUTH\\_PROTOCOL\n''''''''''''''''''''''\n\nDefines protocol that is used to build full authentication callback URI\n\nDefaults to ``http://``\n\nTWITCH\\_AUTH\\_CLIENT\\_ID\n''''''''''''''''''''''''\n\nDefines Twitch application client ID\n\nTWITCH\\_AUTH\\_CLIENT\\_SECRET\n''''''''''''''''''''''''''''\n\nDefines Twitch application client secret\n\nTWITCH\\_AUTH\\_REDIRECT\\_URI\n'''''''''''''''''''''''''''\n\nDefines default redirect URI after successful authentication\n\nDefaults to ``/``\n\nUsage\n-----\n\n-  Run migrations to create database tables for entities.\n-  Add somewhere in your templates link to url ``login_twitch``\n\n.. _Django �sites� framework: https://docs.djangoproject.com/en/1.11/ref/contrib/sites/\n.. _Twitch application: https://www.twitch.tv/settings/connections","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falikhachev%2Fdjango-simpletwitchauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falikhachev%2Fdjango-simpletwitchauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falikhachev%2Fdjango-simpletwitchauth/lists"}