GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cersho/Crv5heR.OAuth.Google: Yet another Google OAuth Library

This repository was archived by the owner on Jun 4, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
Brokers/Apis
Brokers/Apis
 
 
Models/Google
Models/Google
 
 
Services/Foundations/Google
Services/Foundations/Google
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Crv5heR.OAuth.Google.csproj
Crv5heR.OAuth.Google.csproj
 
 
Crv5heR.OAuth.Google.sln
Crv5heR.OAuth.Google.sln
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 

Repository files navigation

YAGOA

Yet another Google OAuth Library

YAGOA is a .NET Library that consumes the Google OAuth API to retrieve the authorized user data for the backend to process

You can use it to validate the user email and info when creating a new account or logging in.

of course you'll need to authenticate on the Frontend side to retrieve to Google Bearer Token

I suggest using react-oauth by MomenSherif on the frontend side.

Usage

You can simply use this library by creating an instance of GoogleService and call AuthenticateAsync():

GoogleService googleService = new GoogleService();

GoogleAuthRequest googleAuthRequest = new GoogleAuthRequest
{
    Token = "YOUR_GOOGLE_ACCESS_TOKEN"
};

GoogleAuthResponse googleAuthResponse =
    await googleService.AuthenticateAsync(googleAuthRequest);

GoogleAuthResponse will return the following data:

  • Name
  • GivenName (First Name)
  • FamilyName (Last Name)
  • Email
  • Picture (Picture URL)
  • HostedDomain (User's Organization Domain)
  • Locale

Expectations

  • The Token property in GoogleAuthRequest is the Bearer Token that you get from the frontend
  • The GoogleAuthResponse will contain the user's data if the token is valid

Packages that I used

  • RESTFULSense by HassanHabib
  • Xeption by HassanHabib

Why I Made This

The main reason Is to simplify my work process by reusing the same code every time for SSO Authentication

Contributing

I welcome any sort of contribution, Please use The-Standard.

About

Yet another Google OAuth Library

www.nuget.org/packages/Crv5heR.OAuth.Google

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.