Skip to content

gsmlg-dev/caddy-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy OAuth2

Simple OAuth2 Client as Caddy Module

caddy_oauth2 {
	auth_path /oauth2/google
	client_id <client id>
	client_secret "<client secret>"
	auth_url "<auth url>"
	token_url "<token url>"
	redirect_url "<host>/oauth2/google/callback"
	scopes "name" "avatar" "email"
}

OAuth2 token will pass to backend in heaer oauth2-token

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages