{"id":18939973,"url":"https://github.com/gw31415/oidc_verify","last_synced_at":"2026-02-07T19:04:32.036Z","repository":{"id":254522966,"uuid":"846802201","full_name":"gw31415/oidc_verify","owner":"gw31415","description":"A simple-usage OIDC-RS256 token verifier","archived":false,"fork":false,"pushed_at":"2024-08-26T03:24:54.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T17:04:40.784Z","etag":null,"topics":["jwt","oidc","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gw31415.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-24T02:10:36.000Z","updated_at":"2024-08-26T03:24:57.000Z","dependencies_parsed_at":"2024-08-24T03:24:35.856Z","dependency_job_id":"aa0c8f6e-2836-4bd7-befd-82a251cb967b","html_url":"https://github.com/gw31415/oidc_verify","commit_stats":null,"previous_names":["gw31415/oidc_verify"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/gw31415/oidc_verify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Foidc_verify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Foidc_verify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Foidc_verify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Foidc_verify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gw31415","download_url":"https://codeload.github.com/gw31415/oidc_verify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Foidc_verify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29205011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["jwt","oidc","rust"],"created_at":"2024-11-08T12:19:33.808Z","updated_at":"2026-02-07T19:04:32.019Z","avatar_url":"https://github.com/gw31415.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oidc_verify\n\n[![Crates.io](https://img.shields.io/crates/v/oidc_verify?style=flat-square)](https://crates.io/crates/oidc_verify)\n[![Crates.io](https://img.shields.io/crates/d/oidc_verify?style=flat-square)](https://crates.io/crates/oidc_verify)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE)\n\nThis is a simple library to verify the JWT token of RS256 received from the OIDC provider.\nIt works without `authorization_endpoint` field, such as Firebase Auth.\n\n## Dependencies\n\nThis library depends on `tokio` as an async runtime, so **your project should select `tokio`\nas an async runtime too**.\n\n## Usage\n\n```rust\nuse oidc_verify::prelude::*;\nuse serde_json::Value;\n\n#[tokio::main]\nasync fn main() {\n    let verifier = Verifier::new(\"https://securetoken.google.com/hogehoge-fugafuga/\");\n\n    let token = \"Bearer 3x4mple.t0k3n\".strip_prefix(\"Bearer \").unwrap();\n\n    match verifier.verify::\u003cValue\u003e(token).await {\n        Ok(claims) =\u003e {\n            println!(\"Claims: {}\", serde_json::to_string_pretty(\u0026claims).unwrap());\n        },\n        Err(err) =\u003e {\n            println!(\"Error: {:?}\", err);\n        },\n    }\n}\n````\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgw31415%2Foidc_verify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgw31415%2Foidc_verify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgw31415%2Foidc_verify/lists"}