{"id":21319729,"url":"https://github.com/blurfx/django-steamauth","last_synced_at":"2025-07-11T06:40:02.093Z","repository":{"id":57422211,"uuid":"45820457","full_name":"blurfx/django-steamauth","owner":"blurfx","description":"steam user login helper on django framework","archived":false,"fork":false,"pushed_at":"2021-05-18T03:54:01.000Z","size":16,"stargazers_count":28,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-28T15:01:17.698Z","etag":null,"topics":["django","django-steamauth","steam","steam-api"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/django-steamauth/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blurfx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-09T06:49:59.000Z","updated_at":"2025-04-15T15:38:08.000Z","dependencies_parsed_at":"2022-09-12T15:31:18.243Z","dependency_job_id":null,"html_url":"https://github.com/blurfx/django-steamauth","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/blurfx/django-steamauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurfx%2Fdjango-steamauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurfx%2Fdjango-steamauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurfx%2Fdjango-steamauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurfx%2Fdjango-steamauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blurfx","download_url":"https://codeload.github.com/blurfx/django-steamauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blurfx%2Fdjango-steamauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264749988,"owners_count":23658306,"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":["django","django-steamauth","steam","steam-api"],"created_at":"2024-11-21T19:44:00.342Z","updated_at":"2025-07-11T06:40:02.026Z","avatar_url":"https://github.com/blurfx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-steamauth\nmake steam openid authorization easily\n\n## Dependency\n- requests\n- Django \u003e= 1.7\n\n## Install\n### Python \u003e= 3\n```bash\npip install django-steamauth\n```\n\n\n### Python 2.x\n```bash\npip install django-steamauth==1.1.1\n```\n\n## Usage\nYou should set `ABSOLUTE_URL` in `settings.py` for redirection after login. default is `localhost`\n\n```python\n# settings.py\n\nABSOLUTE_URL='127.0.0.1:8000'\n# or\nABSOLUTE_URL='yourowndomain.com'\n```\n\nYou can retrive user id with `get_uid` method when a login is successful.\n\n```python\n# views.py\nfrom django.shortcuts import redirect\nfrom steamauth import auth, get_uid\n\n# GET /login\ndef login(request):\n    # if your service does not support ssl, set use_ssl parameters value to False\n    # return auth('/callback', use_ssl=False)\n    return auth('/callback')\n\n# GET /process\ndef login_callback(request):\n    steam_uid = get_uid(request.GET)\n    if steam_uid is None:\n        # login failed\n        return redirect('/login_failed')\n    else:\n        # login success\n        # do something with variable `steam_uid`\n        return redirect('/')\n```\n\n## Changelog\n\n### 1.1.2\n\n- Dropping Python 2 Support\n- Remove deprecated interfaces: `RedirectToSteamSignIn`, `GetSteamID64`\n- Change the default value of `ABSOLUTE_URL` from `localhost` to `localhost:8000`\n- Fix an issue `use_ssl` parameter of `auth` didn't work ([#6](https://github.com/blurfx/django-steamauth/issues/6))\n- Set default value of `use_ssl` to `True` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblurfx%2Fdjango-steamauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblurfx%2Fdjango-steamauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblurfx%2Fdjango-steamauth/lists"}