{"id":29020266,"url":"https://github.com/webdna/id.me","last_synced_at":"2025-10-11T09:39:20.808Z","repository":{"id":62595198,"uuid":"555277421","full_name":"webdna/id.me","owner":"webdna","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-13T15:00:25.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T01:05:02.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/webdna.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-21T09:11:11.000Z","updated_at":"2024-05-13T15:00:06.000Z","dependencies_parsed_at":"2022-11-03T22:10:08.951Z","dependency_job_id":null,"html_url":"https://github.com/webdna/id.me","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/webdna/id.me","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fid.me","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fid.me/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fid.me/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fid.me/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdna","download_url":"https://codeload.github.com/webdna/id.me/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fid.me/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006749,"owners_count":26084181,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-06-26T01:04:58.305Z","updated_at":"2025-10-11T09:39:20.768Z","avatar_url":"https://github.com/webdna.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"./src/icon.svg\" width=\"100\" height=\"100\" alt=\"icon\"\u003e\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eID.me Verification\u003c/h1\u003e\n\n\n\n## Requirements\n\nThis plugin requests Craft 4.x and Craft Commerce 4.x\n\n## Installation\n\nYou can install this plugin from the Plugin Store or with Composer.\n\n#### From the Plugin Store\n\nGo to the Plugin Store in your project’s Control Panel and search for “ID.me”. Then click on the “Install” button in its modal window.\n\n#### With Composer\n\nOpen your terminal and run the following commands:\n\n```bash\n# go to the project directory\ncd /path/to/my-project\n\n# tell Composer to load the plugin\ncomposer require webdna/idme\n\n# tell Craft to install the plugin\n./craft install/plugin idme\n```\n\n## Setup\n\nCreate an app on ID.me (https://developers.id.me/organizations), use the callback url specified in the plugin settings for your app redirect url.\n\nOnce the app is created and the groups selected, then enter the Client ID \u0026 Client Secret (environmental variable are recommended) in the plugin settings.\n\nAlso specify which groups (in the plugin settings) you want to be able to verify. These cannot be ones that have not be selected in your ID.me app. \n\nOnce these groups are selected, then go to discounts and you will see a \"Verified Groups\" tabs in which you can selected which group will have this discount applied.\n\n\n## Usage\n\nAdd the verify with ID.me button to your page (usually the cart page) by using the following code:\n\n```twig\n{{ craft.idme.renderVerifyButton(number, text, mode, redirectUrl)|raw }}\n```\n\n### Parameters\n\n`number` : the cart number\n\n`text` : the text displayed above the button\n\n`mode` : 'popup' or 'fullpage' (default: 'popup')\n\n`redirectUrl` : the url to the page after verification, usually the same as the button. Only used and required if `mode` is `fullpage`\n\n\n## Basic Example\n\n```twig\n{{ craft.idme.renderVerifyButton(cart.number, 'Military members receive 10% off with ID.me')|raw }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdna%2Fid.me","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdna%2Fid.me","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdna%2Fid.me/lists"}