github

command
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Command github is a minimal gin server with GitHub OAuth login and team checks: sessions in memory, a JSON API behind session.Guard.RequireAPI, a page behind RequireUI that starts the login, an admin-only route for AdminTeams members, logout, and outcomes recorded on the request's wide event. Register <EXTERNAL_URL>/auth/github/callback as the OAuth app's callback URL. Replace the memory session backend with redisbackend before you run more than one replica.

Jump to

Keyboard shortcuts

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