debugging for analyzing token

This commit is contained in:
2023-11-06 18:15:03 +01:00
parent c4317b7503
commit 5828a9a5a2
6 changed files with 23 additions and 5 deletions

View File

@ -6,6 +6,8 @@ import (
"fmt"
"net/http"
"net/url"
"github.com/sirupsen/logrus"
)
// Google provider
@ -26,7 +28,7 @@ func (g *Google) Name() string {
}
// Setup performs validation and setup
func (g *Google) Setup() error {
func (g *Google) Setup(log *logrus.Logger) error {
if g.ClientID == "" || g.ClientSecret == "" {
return errors.New("providers.google.client-id, providers.google.client-secret must be set")
}