aboutsummaryrefslogtreecommitdiff
path: root/internal/test/helpers.go
blob: 91fcbdc86f86cf1cf470f7ccddd074959a763970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package testhelper

import (
	"golang.org/x/oauth2"
)

func NewConf(url string) *oauth2.Config {
	return &oauth2.Config{
		ClientID:     "CLIENT_ID",
		ClientSecret: "CLIENT_SECRET",
		RedirectURL:  "REDIRECT_URL",
		Scopes:       []string{"scope1", "scope2"},
	}
}