Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 164 for clientId (0.06 seconds)

  1. tests/test_swagger_ui_escape.py

    
    def test_normal_init_oauth_still_works():
        html = get_swagger_ui_html(
            openapi_url="/openapi.json",
            title="Test",
            init_oauth={"clientId": "my-client", "appName": "My App"},
        )
        body = html.body.decode()
        assert '"clientId": "my-client"' in body
        assert '"appName": "My App"' in body
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. internal/config/identity/openid/providercfg.go

    	}
    
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    	if accessToken != "" {
    		req.Header.Set("Authorization", "Bearer "+accessToken)
    	}
    
    	client := &http.Client{
    		Transport: transport,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return nil, err
    	}
    
    	defer xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. internal/config/identity/openid/openid.go

    				RolePolicy:           provCfg.RolePolicy,
    				ClientID:             provCfg.ClientID,
    				HashedClientSecret:   hashedSecret,
    			}
    		} else {
    			res.ClaimProvider = madmin.OpenIDProviderSettings{
    				ClaimUserinfoEnabled: provCfg.ClaimUserinfo,
    				RolePolicy:           provCfg.RolePolicy,
    				ClientID:             provCfg.ClientID,
    				HashedClientSecret:   hashedSecret,
    			}
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertEquals("https://accounts.google.com/o/oauth2/token", url);
        }
    
        @Test
        public void test_getOicClientId_default() {
            final String clientId = authenticator.getOicClientId();
            assertEquals("", clientId);
        }
    
        @Test
        public void test_getOicClientSecret_default() {
            final String secret = authenticator.getOicClientSecret();
            assertEquals("", secret);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. internal/config/identity/openid/jwt.go

    	pCfg := r.arnProviderCfgsMap[arn]
    	if pCfg.JWKS.URL == nil || pCfg.JWKS.URL.String() == "" {
    		return nil
    	}
    
    	// Add client secret for the client ID for HMAC based signature.
    	r.pubKeys.add(pCfg.ClientID, []byte(pCfg.ClientSecret))
    
    	client := &http.Client{
    		Transport: r.transport,
    	}
    
    	resp, err := client.Get(pCfg.JWKS.URL.String())
    	if err != nil {
    		return err
    	}
    	defer r.closeRespFn(resp.Body)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. internal/event/target/nats.go

    		addressURL = scheme + "://" + n.Token + "@" + n.Address.String()
    	} else {
    		addressURL = scheme + "://" + n.Address.String()
    	}
    
    	u, err := uuid.NewRandom()
    	if err != nil {
    		return nil, err
    	}
    	clientID := u.String()
    
    	connOpts := []stan.Option{stan.NatsURL(addressURL)}
    	if n.Streaming.MaxPubAcksInflight > 0 {
    		connOpts = append(connOpts, stan.MaxPubAcksInflight(n.Streaming.MaxPubAcksInflight))
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. helm/minio/values.yaml

    oidc:
      enabled: false
      configUrl: "https://identity-provider-url/.well-known/openid-configuration"
      clientId: "minio"
      clientSecret: ""
      # Provide existing client secret from the Kubernetes Secret resource, existing secret will have priority over `clientId` and/or `clientSecret``
      existingClientSecretName: ""
      existingClientIdKey: ""
      existingClientSecretKey: ""
      claimName: "policy"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 19.7K bytes
    - Click Count (1)
  8. internal/config/identity/openid/jwt_test.go

    	if len(pubKeys.pkMap) != 1 {
    		t.Fatalf("Expected 1 keys, got %d", len(pubKeys.pkMap))
    	}
    
    	provider := providerCfg{
    		ClientID:     "76b95ae5-33ef-4283-97b7-d2a85dc2d8f4",
    		ClientSecret: "WNGvKVyyNmXq0TraSvjaDN9CtpFgx35IXtGEffMCPR0",
    	}
    	provider.JWKS.URL = u1
    	cfg := Config{
    		Enabled: true,
    		pubKeys: pubKeys,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. cmd/utils.go

    	if err != nil {
    		return "", fmt.Errorf("unable to create provider: %v", err)
    	}
    
    	// Configure an OpenID Connect aware OAuth2 client.
    	oauth2Config := oauth2.Config{
    		ClientID:     pro.ClientID,
    		ClientSecret: pro.ClientSecret,
    		RedirectURL:  pro.RedirectURL,
    
    		// Discovery returns the OAuth2 endpoints.
    		Endpoint: provider.Endpoint(),
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  10. cmd/common-main.go

    		m[name] = consoleoauth2.ProviderConfig{
    			URL:                     cfg.URL.String(),
    			DisplayName:             cfg.DisplayName,
    			ClientID:                cfg.ClientID,
    			ClientSecret:            cfg.ClientSecret,
    			HMACSalt:                globalDeploymentID(),
    			HMACPassphrase:          cfg.ClientID,
    			Scopes:                  strings.Join(cfg.DiscoveryDoc.ScopesSupported, ","),
    			Userinfo:                cfg.ClaimUserinfo,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
Back to Top