Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for IDP (0.86 sec)

  1. cmd/admin-handlers-idp-config.go

    	if len(cfgInfos) == 0 && isUpdate {
    		return ErrAdminConfigIDPCfgNameDoesNotExist
    	}
    	return ErrNone
    }
    
    // AddIdentityProviderCfg: adds a new IDP config for openid/ldap.
    //
    // PUT <admin-prefix>/idp-cfg/openid/dex1 -> create named config `dex1`
    //
    // PUT <admin-prefix>/idp-cfg/openid/_ -> create (default) named config `_`
    func (a adminAPIHandlers) AddIdentityProviderCfg(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-ldap.go

    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // ListLDAPPolicyMappingEntities lists users/groups mapped to given/all policies.
    //
    // GET <admin-prefix>/idp/ldap/policy-entities?[query-params]
    //
    // Query params:
    //
    //	user=... -> repeatable query parameter, specifying users to query for
    //	policy mapping
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/idp-config/{type}/{name}").HandlerFunc(adminMiddleware(adminAPI.AddIdentityProviderCfg))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/idp-config/{type}/{name}").HandlerFunc(adminMiddleware(adminAPI.UpdateIdentityProviderCfg))
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/idp-config/{type}").HandlerFunc(adminMiddleware(adminAPI.ListIdentityProviderCfg))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/typed-errors.go

    var errNoSuchUser = errors.New("Specified user does not exist")
    
    // error returned by IAM when a use a builtin IDP command when they could mean
    // to use a LDAP command.
    var errNoSuchUserLDAPWarn = errors.New("Specified user does not exist. If you meant a user in LDAP please use command under `mc idp ldap`")
    
    // error returned when service account is not found
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. internal/config/identity/openid/providercfg.go

    //
    // 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
    func (p *providerCfg) UserInfo(ctx context.Context, accessToken string, transport http.RoundTripper) (map[string]interface{}, error) {
    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)
  6. internal/config/identity/openid/help.go

    			Sensitive:   true,
    			Type:        "string",
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         RolePolicy,
    			Description: `Set the IAM access policies applicable to this client application and IDP e.g. "app-bucket-write,app-bucket-list"` + defaultHelpPostfix(RolePolicy),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ClaimName,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket create error: %v", err)
    	}
    
    	// Generate web identity STS token by interacting with OpenID IDP.
    	token, err := MockOpenIDTestUserInteraction(ctx, testAppParams, "******@****.***", "dillon")
    	if err != nil {
    		c.Fatalf("mock user err: %v", err)
    	}
    	// fmt.Printf("TOKEN: %s\n", token)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Code:           "XMinioAdminConfigIDPCfgNameAlreadyExists",
    		Description:    "An IDP configuration with the given name already exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminConfigIDPCfgNameDoesNotExist: {
    		Code:           "XMinioAdminConfigIDPCfgNameDoesNotExist",
    		Description:    "No such IDP configuration exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/site-replication.go

    // account changes.
    //
    // All policies are replicated.
    //
    // Policy mappings are only replicated when they are for LDAP users or groups
    // (as an external IDP is always assumed when SR is used). In the case of
    // OpenID, such mappings are provided from the IDP directly and so are not
    // applicable here.
    //
    // Service accounts are replicated as long as they are not meant for the root
    // user.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. internal/config/identity/openid/openid.go

    // ErrProviderConfigNotFound - represents a non-existing provider error.
    var ErrProviderConfigNotFound = errors.New("provider configuration not found")
    
    // GetConfigInfo - returns configuration and related info for the given IDP
    // provider.
    func (r *Config) GetConfigInfo(s config.Config, cfgName string) ([]madmin.IDPCfgInfo, error) {
    	openIDConfigs, err := s.GetAvailableTargets(config.IdentityOpenIDSubSys)
    	if err != nil {
    		return nil, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top