chat_oauth2

command
v0.0.0-...-90bf800 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 20 Imported by: 0

README

Simple chat with OAuth2 authentication via Google.

To start example run the following command from example directory:

SESSION_SECRET=XXX GOOGLE_CLIENT_ID=XXX GOOGLE_CLIENT_SECRET=XXX go run main.go

To get GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET you need to register your application in Google Cloud Console (this is free). See instruction in this great post by Henrik Fogelberg on Medium.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL