{"id":21800977,"url":"https://github.com/wpcodevo/rust-yew-google-github-oauth2","last_synced_at":"2025-03-21T06:46:18.847Z","repository":{"id":163401905,"uuid":"631680130","full_name":"wpcodevo/rust-yew-google-github-oauth2","owner":"wpcodevo","description":"In this article, you will learn how to implement OAuth for Google and GitHub in a Rust frontend application using the Yew.rs framework. Additionally, I will provide backend APIs built using Rust, Node.js, and Golang that you can use alongside the frontend application.","archived":false,"fork":false,"pushed_at":"2023-05-10T10:32:21.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T03:41:17.712Z","etag":null,"topics":["github-oauth","github-oauth2","google-oauth","google-oauth2","rust","rust-frontend","rust-lang","yew-framework","yew-router","yewdux"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/implement-google-and-github-oauth2-in-rust-frontend-app/","language":"Rust","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/wpcodevo.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":"2023-04-23T19:23:39.000Z","updated_at":"2023-05-29T02:30:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"3040f65e-9bde-466e-8e75-4bb1fa3194d0","html_url":"https://github.com/wpcodevo/rust-yew-google-github-oauth2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Frust-yew-google-github-oauth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Frust-yew-google-github-oauth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Frust-yew-google-github-oauth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Frust-yew-google-github-oauth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/rust-yew-google-github-oauth2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752339,"owners_count":20504254,"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-oauth","github-oauth2","google-oauth","google-oauth2","rust","rust-frontend","rust-lang","yew-framework","yew-router","yewdux"],"created_at":"2024-11-27T11:15:27.758Z","updated_at":"2025-03-21T06:46:18.842Z","avatar_url":"https://github.com/wpcodevo.png","language":"Rust","readme":"# Implement Google and GitHub OAuth2 in Rust Frontend App\n\nIn this article, you will learn how to implement OAuth for Google and GitHub in a Rust frontend application using the Yew.rs framework. Additionally, I will provide backend APIs built using Rust, Node.js, and Golang that you can use alongside the frontend application.\n\n![Implement Google and GitHub OAuth2 in Rust Frontend App](https://codevoweb.com/wp-content/uploads/2023/05/Implement-Google-and-GitHub-OAuth2-in-Rust-Frontend-App.webp)\n\n## Topics Covered\n\n- Run the Google and GitHub OAuth Frontend App\n- Run a Rust Backend Server with the App\n- Other Backend APIs with OAuth Support\n- How the GitHub and Google OAuth Works\n    - Sign In using Google OAuth\n    - Sign In using GitHub OAuth\n- Setup the Rust Frontend Project\n- Generate the GitHub and Google OAuth Consent Screen URLs\n    - Function to Generate the Google OAuth Consent Screen\n    - Function to Generate the GitHub OAuth Consent Screen\n- Set up Tailwind CSS for Styling\n- Create the API Request Functions\n- Manage the Application State Globally\n- Create Some Reusable Components\n    - Create a Spinner Component\n    - Create a Form Input Component\n    - Create an Alert Notification Component\n    - Create a Header Component\n- Create the Frontend Pages for the Authentication\n    - Account Registration Page\n    - Account Login Page\n    - Profile Page\n    - Home Page\n- Create Routes for the Page Components\n- Create the App Component\n- Render the App Component in the Main File\n- How to Obtain the Google OAuth Credentials\n- How to Obtain the GitHub OAuth Credentials\n- Conclusion\n\nRead the entire article here: [https://codevoweb.com/implement-google-and-github-oauth2-in-rust-frontend-app/](https://codevoweb.com/implement-google-and-github-oauth2-in-rust-frontend-app/)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Frust-yew-google-github-oauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Frust-yew-google-github-oauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Frust-yew-google-github-oauth2/lists"}