Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for OAuth2 (0.16 sec)

  1. docs/sts/web-identity.go

    		scopes = strings.Split(clientScopes, ",")
    	}
    
    	ctx := context.Background()
    
    	config := oauth2.Config{
    		ClientID:     clientID,
    		ClientSecret: clientSec,
    		Endpoint: oauth2.Endpoint{
    			AuthURL:  ddoc.AuthEndpoint,
    			TokenURL: ddoc.TokenEndpoint,
    		},
    		RedirectURL: fmt.Sprintf("http://10.0.0.67:%d/oauth2/callback", port),
    		Scopes:      scopes,
    	}
    
    	state := randomState()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  2. internal/config/identity/openid/providercfg.go

    	}
    	return p.roleArn.String()
    }
    
    // UserInfo returns claims for authenticated user from userInfo endpoint.
    //
    // Some OIDC implementations such as GitLab do not support
    // claims as part of the normal oauth2 flow, instead rely
    // on service providers making calls to IDP to fetch additional
    // claims available from the UserInfo endpoint
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/google.go

    // limitations under the License.
    
    package kubeinject
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    
    	"golang.org/x/oauth2"
    	"golang.org/x/oauth2/google"
    )
    
    func isMCPAddr(addr string) bool {
    	// A bit inexact but should be good enough.
    	return strings.Contains(addr, ".googleapis.com/") || strings.Contains(addr, ".googleapis.com:443/")
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. cmd/common-main.go

    	dns2 "github.com/miekg/dns"
    	"github.com/minio/cli"
    	consoleapi "github.com/minio/console/api"
    	"github.com/minio/console/api/operations"
    	consoleoauth2 "github.com/minio/console/pkg/auth/idp/oauth2"
    	consoleCerts "github.com/minio/console/pkg/certs"
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/set"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. cmd/sts-handlers.go

    		encodedSuccessResponse = encodeResponse(webIdentityResponse)
    	}
    
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // AssumeRoleWithWebIdentity - implementation of AWS STS API supporting OAuth2.0
    // users from web identity provider such as Facebook, Google, or any OpenID
    // Connect-compatible identity provider.
    //
    // Eg:-
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  6. 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(),
    
    		// "openid" is a required scope for OpenID Connect flows.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top