Skip to content

Instantly share code, notes, and snippets.

View sounishnath003's full-sized avatar
πŸ‘¨β€πŸ’»
Hobbist Developer, I love building softwares

Sounish Nath sounishnath003

πŸ‘¨β€πŸ’»
Hobbist Developer, I love building softwares
View GitHub Profile
@sounishnath003
sounishnath003 / generate-google-oauth2-idtoken.go
Last active February 19, 2025 12:34
Easy and Simple way to generate the Access token on behalf of GSA using golang
// Description: Google OAuth2.0 Authentication
// Test the Google OAuth2.0 Authentication
// Get the Access y29 OAuth token
// Documentation: https://developers.google.com/identity/protocols/oauth2/service-account#:~:text=Preparing%20to%20make%20a%20delegated%20API%20call
package main
/**
=======================================================