{"id":17109141,"url":"https://github.com/dkackman/deviceoauth2","last_synced_at":"2026-03-01T08:34:16.573Z","repository":{"id":38205755,"uuid":"41612874","full_name":"dkackman/DeviceOAuth2","owner":"dkackman","description":"Limited input device OAuth 2 flow for .NET","archived":false,"fork":false,"pushed_at":"2022-06-23T01:56:05.000Z","size":11956,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T17:18:53.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dkackman.github.io/DeviceOAuth2/","language":"HTML","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/dkackman.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-08-30T01:34:40.000Z","updated_at":"2022-06-23T01:53:55.000Z","dependencies_parsed_at":"2022-08-18T21:40:39.732Z","dependency_job_id":null,"html_url":"https://github.com/dkackman/DeviceOAuth2","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/dkackman%2FDeviceOAuth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkackman%2FDeviceOAuth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkackman%2FDeviceOAuth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkackman%2FDeviceOAuth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkackman","download_url":"https://codeload.github.com/dkackman/DeviceOAuth2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248098222,"owners_count":21047395,"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-14T16:22:15.768Z","updated_at":"2026-03-01T08:34:16.513Z","avatar_url":"https://github.com/dkackman.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeviceOAuth2\nLimited input device OAuth 2 flow for .NET\n\n[NuGet Package](https://www.nuget.org/packages/DeviceOAuth2/)\n\nTested with [Google Device OAuth2 Flow](https://developers.google.com/identity/protocols/OAuth2ForDevices) and [Facebook Login for Devices Flow](https://developers.facebook.com/docs/facebook-login/for-devices).\n\nAlso tested on Windows IoT Core (see example Facebook app).\n\nOAuth flow for scenarios with limited access to input devices or web browsers, like console apps or IoT devices.\n\n    IDeviceOAuth2 auth = new DeviceOAuth(EndPointInfo.Google, \"scope\", \"client_id\", \"client_secret\");\n\n    auth.PromptUser += (o, e) =\u003e\n    {\n        Console.WriteLine(\"Go to this url on any computer:\");\n        Console.WriteLine(e.VerificationUri);\n        Console.WriteLine(\"And enter this code:\");\n        Console.WriteLine(e.UserCode);\n    };\n\n    var token = await auth.Authorize(null);\n\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkackman%2Fdeviceoauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkackman%2Fdeviceoauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkackman%2Fdeviceoauth2/lists"}