Skip to content

kr/githubauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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

Packages

 
 
 

Contributors

Languages