Failed to auth access toekn with go

Ready to post? :mag: First, try searching for your answer.
Error: error getting the keys from the key func: could not get well known endpoints from url Get "\“: http: server gave HTTP response to HTTPS client”


func NewAuthingManager(ctx context.Context, opts *options.Options) (*AuthingManager, error) {
	issuerURL, err := url.Parse("")
	if err != nil {
		return nil, err

	provider := jwks.NewCachingProvider(issuerURL, 5*time.Minute)
	jwtValidator, err := validator.New(
			func() validator.CustomClaims {
				return &CustomClaims{}
	if err != nil {
		return nil, err

	databaseController, err := database.NewDatabaseController(
		opts.DBUser, opts.DBPassword, opts.DBHost, opts.DBPort)
	if err != nil {
		return nil, err
	return &AuthingManager{
		userIDToAPIKeyMap:    map[string]string{},
		apiKeyMapToUserIDMap: map[string]string{},
		auth0Client:          jwtValidator,
		databaseController:   databaseController,
	}, nil
        ret, err := a.auth0Client.ValidateToken(context.Background(), token)
	if err != nil {
		return false, "", err

OK, this one solved, in k8s, should use as the DNS server.

But there is another problem:
validation failed, invalid audience claim (aud)

OK, fixed, my mistake. problem in []string{os.Getenv("")},