{"id":17100636,"url":"https://github.com/jakobhellermann/ezoauth","last_synced_at":"2025-07-25T14:03:24.909Z","repository":{"id":55095382,"uuid":"300602422","full_name":"jakobhellermann/ezoauth","owner":"jakobhellermann","description":"Easy to use OAuth2 client for rust","archived":false,"fork":false,"pushed_at":"2022-01-05T09:54:37.000Z","size":10,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-13T18:56:35.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/jakobhellermann.png","metadata":{"files":{"readme":"README.md","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":"2020-10-02T12:07:13.000Z","updated_at":"2024-11-17T06:25:13.000Z","dependencies_parsed_at":"2022-08-14T11:50:23.386Z","dependency_job_id":null,"html_url":"https://github.com/jakobhellermann/ezoauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jakobhellermann/ezoauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakobhellermann%2Fezoauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakobhellermann%2Fezoauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakobhellermann%2Fezoauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakobhellermann%2Fezoauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakobhellermann","download_url":"https://codeload.github.com/jakobhellermann/ezoauth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakobhellermann%2Fezoauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259997994,"owners_count":22943724,"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-14T15:14:18.925Z","updated_at":"2025-06-15T15:34:47.695Z","avatar_url":"https://github.com/jakobhellermann.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ezoauth\n\n\u003e An easy to use OAuth2 client for rust\n\nThe crate automatically starts a webserver in a background thread and makes the authorization flow a simple matter of calling `ezoauth::authenticate` with your `OAuthConfig`.\n\n## Example Usage\n\n```rust\nlet config = ezoauth::OAuthConfig {\n    auth_url: \"https://discord.com/api/oauth2/authorize\",\n    token_url: \"https://discord.com/api/oauth2/token\",\n    redirect_url: \"http://localhost:8000\",\n    client_id: \"...\",\n    client_secret: \"...\",\n    scopes: vec![\"identify\"],\n};\nlet (rx, auth_url) = ezoauth::authenticate(config, \"localhost:8000\")?;\n\nprintln!(\"Browse to {}\", auth_url);\n\nlet token = rx.recv().unwrap()?;\n```\n\n\u003cbr\u003e\n\n#### LICENSE\n\nMIT © [Jakob Hellermann](mailto:jakob.hellermann@protonmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakobhellermann%2Fezoauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakobhellermann%2Fezoauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakobhellermann%2Fezoauth/lists"}