{"id":13572397,"url":"https://github.com/nerdsforever/django-multi-oauth","last_synced_at":"2025-04-04T09:32:25.453Z","repository":{"id":780183,"uuid":"472415","full_name":"nerdsforever/django-multi-oauth","owner":"nerdsforever","description":"Django shell project of using OAuth with multiple services","archived":false,"fork":false,"pushed_at":"2010-04-01T01:29:33.000Z","size":103,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T05:34:13.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerdsforever.png","metadata":{"files":{"readme":"README.markdown","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":"2010-01-14T19:14:10.000Z","updated_at":"2019-08-13T14:30:31.000Z","dependencies_parsed_at":"2022-08-16T10:50:40.401Z","dependency_job_id":null,"html_url":"https://github.com/nerdsforever/django-multi-oauth","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/nerdsforever%2Fdjango-multi-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdsforever%2Fdjango-multi-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdsforever%2Fdjango-multi-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdsforever%2Fdjango-multi-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdsforever","download_url":"https://codeload.github.com/nerdsforever/django-multi-oauth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247154129,"owners_count":20892799,"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-08-01T14:01:22.091Z","updated_at":"2025-04-04T09:32:23.224Z","avatar_url":"https://github.com/nerdsforever.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"django-multi-oauth\n===========================\n\n------------\n\nA simple django application that will handle authentication to multiple oauth applications. \n\n------------\n\nexample settings.py\n------------\n\n\n\n    from oauth.utils import *\n    \n    OAUTH_SETTINGS = {\n        'TWITTER': {\n            OAUTH_SERVER            : 'twitter.com',\n            OAUTH_REQUEST_TOKEN_URL : 'https://twitter.com/oauth/request_token', #\n            OAUTH_ACCESS_TOKEN_URL  : 'https://twitter.com/oauth/access_token', \n            OAUTH_AUTHORIZATION_URL : 'https://twitter.com/oauth/authorize', \n            OAUTH_CONSUMER_KEY      : '',\n            OAUTH_CONSUMER_SECRET   : '',\n            OAUTH_TOKEN_NAME        : 'oauth_token',\n            OAUTH_UNAUTHORIZED_REQUEST_TOKEN_KEY: 'twitter_unauthorized_token',\n    \n            OAUTH_ACCESS_TOKEN_KEY  : 'twitter_access_token',    # Name of session key used to store access token\n            OAUTH_BASE_TEMPLATE     : 'oauth/twitter/main.html', # Base template when /oauth/twitter/ is retrieved\n            OAUTH_CALLBACK_REDIRECT_URL_NAME: '',                # Named url of where to redirect to after oauth\n            OAUTH_AUTH_REDIRECT_URL_NAME: 'oauth_main',          # Named url of where to redirect to if already auth\n        },\n        'FRIENDFEED': {\n            OAUTH_SERVER            : 'friendfeed.com',\n            OAUTH_REQUEST_TOKEN_URL : 'https://friendfeed.com/account/oauth/request_token', \n            OAUTH_ACCESS_TOKEN_URL  : 'https://friendfeed.com/account/oauth/access_token', \n            OAUTH_AUTHORIZATION_URL : 'https://friendfeed.com/account/oauth/authorize', \n            OAUTH_CONSUMER_KEY      : '',\n            OAUTH_CONSUMER_SECRET   : '',\n            OAUTH_TOKEN_NAME        : 'oauth_token',\n            OAUTH_UNAUTHORIZED_REQUEST_TOKEN_KEY: 'ff_unauthorized_token',\n            OAUTH_ACCESS_TOKEN_KEY  : 'ff_access_token',\n            OAUTH_BASE_TEMPLATE     : 'oauth/friendfeed/main.html', \n            OAUTH_CALLBACK_REDIRECT_URL_NAME: '',\n            OAUTH_AUTH_REDIRECT_URL_NAME: 'oauth_main',\n        }\n        'EXAMPLEAPP': {\n            OAUTH_SERVER            : 'exampleapp.com',\n            OAUTH_REQUEST_TOKEN_URL : 'https://exampleapp.com/oauth/request_token', \n            OAUTH_ACCESS_TOKEN_URL  : 'https://exampleapp.com/oauth/access_token', \n            OAUTH_AUTHORIZATION_URL : 'https://exampleapp.com/oauth/authorize', \n            OAUTH_CONSUMER_KEY      : '',\n            OAUTH_CONSUMER_SECRET   : '',\n            OAUTH_TOKEN_NAME        : 'oauth_token',\n            OAUTH_UNAUTHORIZED_REQUEST_TOKEN_KEY: 'unauthorized_token',\n            OAUTH_ACCESS_TOKEN_KEY  : 'access_token',\n            OAUTH_BASE_TEMPLATE     : 'oauth/exampleapp/main.html', \n            OAUTH_CALLBACK_REDIRECT_URL_NAME: '',\n            OAUTH_AUTH_REDIRECT_URL_NAME: 'oauth_main',\n        }\n    }\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdsforever%2Fdjango-multi-oauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdsforever%2Fdjango-multi-oauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdsforever%2Fdjango-multi-oauth/lists"}