{"id":16396679,"url":"https://github.com/tri613/google-login","last_synced_at":"2025-10-10T11:16:50.981Z","repository":{"id":88374992,"uuid":"74544244","full_name":"tri613/google-login","owner":"tri613","description":"Google sign in for web -- test example","archived":false,"fork":false,"pushed_at":"2016-11-23T06:04:30.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T20:59:21.458Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tri613.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-11-23T05:41:00.000Z","updated_at":"2016-11-23T05:48:14.000Z","dependencies_parsed_at":"2024-03-30T16:00:34.488Z","dependency_job_id":null,"html_url":"https://github.com/tri613/google-login","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tri613/google-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tri613%2Fgoogle-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tri613%2Fgoogle-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tri613%2Fgoogle-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tri613%2Fgoogle-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tri613","download_url":"https://codeload.github.com/tri613/google-login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tri613%2Fgoogle-login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003726,"owners_count":26083610,"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-10T02:00:06.843Z","response_time":62,"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":"2024-10-11T05:08:09.873Z","updated_at":"2025-10-10T11:16:50.976Z","avatar_url":"https://github.com/tri613.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"只是想要實作看看Google login，所以按鈕並沒有符合Google規範哈哈。\n\n用了兩種方式接，一種是用js(+php)，一種是純後端(php)，\n程式碼分別在 `with-js` 和 `with-server`下面。\n\n:warning:\n- 憑證不包含在repository裡面\n  - 在根目錄下放上從google api console裡面下載的JSON憑證，並命名為 `client_secret.json`\n  - 更改 `config.php` ，將裡面替換成自己的 client id 即可\n- google api client程式碼也不在裡面\n  - clone下來執行 `composer install` 即可\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftri613%2Fgoogle-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftri613%2Fgoogle-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftri613%2Fgoogle-login/lists"}