{"id":34651912,"url":"https://github.com/hypersign-protocol/hs-wordpress-plugin","last_synced_at":"2026-04-19T22:09:05.354Z","repository":{"id":51309830,"uuid":"365794978","full_name":"hypersign-protocol/hs-wordpress-plugin","owner":"hypersign-protocol","description":"Plugin for wordpress to integrate passwordless login","archived":false,"fork":false,"pushed_at":"2021-05-16T13:42:16.000Z","size":64,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-01T16:17:11.333Z","etag":null,"topics":["authentication","hypersign","identity","wordpress","wordpress-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/hypersign-protocol.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":"2021-05-09T16:13:35.000Z","updated_at":"2024-04-01T16:17:11.334Z","dependencies_parsed_at":"2022-09-24T19:12:02.334Z","dependency_job_id":null,"html_url":"https://github.com/hypersign-protocol/hs-wordpress-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hypersign-protocol/hs-wordpress-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypersign-protocol%2Fhs-wordpress-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypersign-protocol%2Fhs-wordpress-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypersign-protocol%2Fhs-wordpress-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypersign-protocol%2Fhs-wordpress-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypersign-protocol","download_url":"https://codeload.github.com/hypersign-protocol/hs-wordpress-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypersign-protocol%2Fhs-wordpress-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32024383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","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":["authentication","hypersign","identity","wordpress","wordpress-development","wordpress-plugin"],"created_at":"2025-12-24T17:57:10.194Z","updated_at":"2026-04-19T22:09:05.343Z","avatar_url":"https://github.com/hypersign-protocol.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hypersign Wordpress plugin\n\n\n![image](https://user-images.githubusercontent.com/15328561/117573635-aa44a180-b0f6-11eb-8090-f7f2526d7475.png)\n\n\n### Flow\n\n* We can not integrate hypersign sdk in wp-backend because we can not write whole sdk in php -  WP supports PHP.\n* When a user opens the login page, the `wb-frontend` request a new challenge from `wp-backend`. The `wp-backend` requests that from `HS-WP-Server` by sending `AppID` and `AppSecret`.  \n* The `HS-WP-Server` connects with `HS-Subscription server` to verify the `AppID` and `AppSecret`.  \n* The `HS-WP-Server` then sends a new challenge along with other metadata like did, schema etc to the `WP-backend` or to the Hypersign plugin.\n* The `Hypersign-plugin` at `WP-frontend` displays the QR code.\n* The user scans the QR code and generates verifiable presentation\n  * Meanwhile `Hypersign-plugin` at `WP-frontend` keep polling the `WP-backend` about this challenge.\n* The user sends the VP to the `WP-backend`, the   `WP-backend` then again interacts with `HS-WP-Server` to verify the VP.\n* The `HS-WP-Server`  verifies the VP and sends the userdata back to  `WP-backend` . \n* The  `WP-backend`  responds to the polling request from frontend.\n* The  `WP-backend`  checks if this user is already present in the db, if not it creates a new user in the db.\n\nNote:\n\n* The admin of the app has to comes to developer portal and get `AppID` and `AppSecret`.  \n* The admin then installs the `Hypersign WordPress Plugin` in the app.\n\n## Installation \n\n\n```\ncd /var/www/html/wp-content/plugins/\ngit clone https://github.com/hypersign-protocol/hs-wordpress-plugin hypersign-auth\n```\n\n\n## /auth\n\n### Request\n\n```js\n\nPOST 192.168.43.43/index.php/wp-json/hs/api/v2/challenge\nBody: {\n    \"user\": 123,\n    \"name\": \"Vishwas anand\",\n    \"email\": \"vishu1@gmail.com\"\n}\n```\n\n### Response\n\n```js\n[\n    {\n        \"user\": 123,\n        \"name\": \"Vishwas anand\",\n        \"email\": \"vishu1@gmail.com\"\n    },\n    {\n        \"challenge\": \"7d5a355f-40da-4635-91ad-ec4c15ebed00\"\n    }\n]\n\n```\n\n## /challenge\n\n### Request\n\n```js\nGET 192.168.43.43/index.php/wp-json/hs/api/v2/challenge\n\n```\n\n### Response\n\n```js\n{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"error\" : null\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypersign-protocol%2Fhs-wordpress-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypersign-protocol%2Fhs-wordpress-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypersign-protocol%2Fhs-wordpress-plugin/lists"}