Skip to content

Files

Latest commit

fcc5889 · Jan 30, 2023

History

History
This branch is 3634 commits behind gofiber/recipes:master.

oauth2-google

Fiber with Google OAuth2

Implementation of Google OAuth2 with fiber, some packages used are mentioned below

Obtain OAuth credentials from https://console.developers.google.com/

Endpoints

  • /api/ - redirects to login url

  • /api/auth/google/callback - gives a callback to google and on success return's user's email

Packages Used