{"id":25543420,"url":"https://github.com/immutal0/google-github-oauth2-react-vite-example","last_synced_at":"2025-09-11T01:36:23.722Z","repository":{"id":277262074,"uuid":"931359419","full_name":"Immutal0/Google-Github-OAuth2-React-Vite-Example","owner":"Immutal0","description":"React vite example can provide google, github, OAuth2","archived":false,"fork":false,"pushed_at":"2025-02-12T06:24:34.000Z","size":39,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T07:19:12.900Z","etag":null,"topics":["github","google","oauth2","react","vite"],"latest_commit_sha":null,"homepage":"https://google-github-oath2-reactjs.vercel.app","language":"TypeScript","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/Immutal0.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}},"created_at":"2025-02-12T06:23:55.000Z","updated_at":"2025-02-18T01:33:20.000Z","dependencies_parsed_at":"2025-02-13T02:26:24.584Z","dependency_job_id":"5a683053-f002-4e2d-800d-80b0800b0849","html_url":"https://github.com/Immutal0/Google-Github-OAuth2-React-Vite-Example","commit_stats":null,"previous_names":["immutal0/google-github-oauth2-react-vite-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Immutal0%2FGoogle-Github-OAuth2-React-Vite-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Immutal0%2FGoogle-Github-OAuth2-React-Vite-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Immutal0%2FGoogle-Github-OAuth2-React-Vite-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Immutal0%2FGoogle-Github-OAuth2-React-Vite-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Immutal0","download_url":"https://codeload.github.com/Immutal0/Google-Github-OAuth2-React-Vite-Example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239793062,"owners_count":19697893,"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":["github","google","oauth2","react","vite"],"created_at":"2025-02-20T07:19:17.584Z","updated_at":"2025-02-20T07:19:18.429Z","avatar_url":"https://github.com/Immutal0.png","language":"TypeScript","readme":"# Google and GitHub OAuth Implementation in React.js\n\nThis guide will walk you through the process of integrating Google and GitHub OAuth authentication in React.js applications.\n\n![Google and GitHub OAuth](https://github.com/comet19950902/google-github-oath2-reactjs/assets/125123604/1f0032a1-0bcb-4e37-b175-65c7572b1a52)\n\n---\n\n## Google OAuth2 Integration in React.js\n\nThis tutorial covers the steps to implement Google OAuth2 authentication in a React.js app. You'll learn how to:\n\n- Create a project in the Google API Console\n- Configure client ID and redirect URI\n- Implement OAuth2 flow in your React app\n\n### Topics Covered:\n\n- Running React Google OAuth2 with different backends (Node.js, Golang)\n- Setting up the React project\n- Obtaining Google OAuth2 Client ID and Secret\n- Building OAuth2 consent screen and authorization links\n- Creating a Zustand store for state management\n- Building reusable React components:\n  - Spinner\n  - Header\n  - Layout\n- Implementing Authentication:\n  - Registration and login pages\n- Building additional pages:\n  - Home and profile pages\n- Setting up React Router for navigation\n- Testing Google OAuth2 flow:\n  - Account creation\n  - OAuth2 login\n  - Accessing protected pages\n\n**Read the full article here:**  \n[How to Implement Google OAuth2 in React.js](https://codevoweb.com/how-to-implement-google-oauth2-in-reactjs/)\n\n---\n\n## GitHub OAuth Integration in React.js\n\nThis tutorial will guide you through implementing GitHub OAuth in a React.js app. You'll learn how to:\n\n- Create a GitHub OAuth app\n- Configure the app’s client ID, secrets, and redirect URI\n- Implement OAuth flow in your React application\n\n### Topics Covered:\n\n- Running React GitHub OAuth with different backends (Node.js, Golang)\n- Setting up the React project\n- Obtaining GitHub OAuth credentials\n- Building GitHub OAuth consent screen and authorization links\n- Creating a Zustand store for state management\n- Building reusable React components:\n  - Spinner\n  - Header\n  - Layout\n- Implementing GitHub OAuth:\n  - Account registration and login\n- Building additional pages:\n  - Home and profile pages\n- Setting up React Router for navigation\n\n**Read the full article here:**  \n[How to Implement GitHub OAuth in React.js](https://codevoweb.com/how-to-implement-github-oauth-in-reactjs/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmutal0%2Fgoogle-github-oauth2-react-vite-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimmutal0%2Fgoogle-github-oauth2-react-vite-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmutal0%2Fgoogle-github-oauth2-react-vite-example/lists"}