Skip to content

quirkey/githubauth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

GitHub OAuth HTTP handler

See https://godoc.org/github.com/kr/githubauth for documentation.

Example
h := &githubauth.Handler{
	RequireOrg:   "mycorp",
	Keys:         keys(),
	ClientID:     os.Getenv("OAUTH_CLIENT_ID"),
	ClientSecret: os.Getenv("OAUTH_CLIENT_SECRET"),
}
http.ListenAndServe(":8080", h)

About

Easy GitHub OAuth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%