Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for auth_token (0.15 sec)

  1. internal/config/lambda/parse.go

    		if k != config.Default {
    			clientKeyEnv = clientKeyEnv + config.Default + k
    		}
    
    		webhookArgs := target.WebhookArgs{
    			Enable:     enabled,
    			Endpoint:   *url,
    			Transport:  transport,
    			AuthToken:  env.Get(authEnv, kv.Get(target.WebhookAuthToken)),
    			ClientCert: env.Get(clientCertEnv, kv.Get(target.WebhookClientCert)),
    			ClientKey:  env.Get(clientKeyEnv, kv.Get(target.WebhookClientKey)),
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    			AuthToken: "",
    		}
    	case "31":
    		// V31 -> V32
    		cfg.Notify.NSQ = make(map[string]target.NSQArgs)
    		cfg.Notify.NSQ["1"] = target.NSQArgs{}
    	}
    
    	// Move to latest.
    	cfg.Version = "33"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. internal/config/notify/legacy.go

    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   target.WebhookEndpoint,
    			Value: cfg.Endpoint.String(),
    		},
    		config.KV{
    			Key:   target.WebhookAuthToken,
    			Value: cfg.AuthToken,
    		},
    		config.KV{
    			Key:   target.WebhookQueueDir,
    			Value: cfg.QueueDir,
    		},
    		config.KV{
    			Key:   target.WebhookQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. cmd/utils.go

    	q := lastReq.URL.Query()
    	// fmt.Printf("lastReq.URL: %#v q: %#v\n", lastReq.URL, q)
    	code := q.Get("code")
    	oauth2Token, err := oauth2Config.Exchange(ctx, code)
    	if err != nil {
    		return "", fmt.Errorf("unable to exchange code for id token: %v", err)
    	}
    
    	rawIDToken, ok := oauth2Token.Extra("id_token").(string)
    	if !ok {
    		return "", fmt.Errorf("id_token not found!")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. cmd/iam.go

    		if err != nil {
    			iamLogIf(ctx, fmt.Errorf("Unable to initialize AuthZPlugin from legacy OPA config: %w", err))
    		} else {
    			authZPluginCfg.URL = opaCfg.URL
    			authZPluginCfg.AuthToken = opaCfg.AuthToken
    			authZPluginCfg.Transport = opaCfg.Transport
    			authZPluginCfg.CloseRespFn = opaCfg.CloseRespFn
    		}
    	}
    
    	setGlobalAuthZPlugin(polplugin.New(authZPluginCfg))
    
    	sys.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  6. internal/config/notify/parse.go

    		if k != config.Default {
    			clientKeyEnv = clientKeyEnv + config.Default + k
    		}
    
    		webhookArgs := target.WebhookArgs{
    			Enable:     enabled,
    			Endpoint:   *url,
    			Transport:  transport,
    			AuthToken:  env.Get(authEnv, kv.Get(target.WebhookAuthToken)),
    			QueueDir:   env.Get(queueDirEnv, kv.Get(target.WebhookQueueDir)),
    			QueueLimit: uint64(queueLimit),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top