---
schema_version: "1"
id: 64131c5d0d1f544a241256a0135e23e78e0618004499049f7337688506d80e21
title: AuthConfig
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_authconfig.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_authconfig.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d60eee98e810888868eec1e645b97e8cfaf47f221add59f27c0e0a15020718bc
description: Represents authentication options for My Domain and Experience Cloud site login pages. This object is available in API version 32.0 and later.
---
# AuthConfig

Represents authentication options for My Domain and Experience Cloud site login pages. This object is available in API version 32.0 and later.

The fields for this object control the options that display on the login page of an org. By default, you have a My Domain and corresponding login page. If you use Digital Experiences, you can also set up a login page for each of your Experience Cloud sites.

- Logging in with a username and password
- Using SAML for single sign-on
- Authentication provider logins from a third-party service, such as Facebook or Twitter

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

You must have “View Setup and Configuration” permission to view the settings.

## Fields

| Field Name | Details |
| --- | --- |
| AuthOptionsAuthProvider | 
Type

boolean

Properties

Filter

Description

If true, at least one Auth. Provider is selected to show up on the login page, and this object has child AuthConfigProvider objects for each provider.





 |
| AuthOptionsCertificate | 

Type

boolean

Properties

Filter

Description

If true, certificate-based login displays on the My Domain login page.





 |
| AuthOptionsSaml | 

Type

boolean

Properties

Filter

Description

If true, at least one SAML configuration is selected to show up on the login page. If the organization has only one SAML configuration, this value indicates whether that configuration is selected to show up on the login page. If the organization has multiple SAML configurations, see the child AuthConfigProvider objects for each configuration.





 |
| AuthOptionsUsernamePassword | 

Type

boolean

Properties

Filter

Description

If true, the login option for a username and password appears on the login page.





 |
| DeveloperName | 

Type

string

Properties

Filter, Group, Sort

Description

The name of the domain created using My Domain or, for an Experience Cloud site, a concatenated string of site name\_site prefix.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.















 |
| IsActive | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Whether this configuration is in use.





 |
| Language | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The language for the organization.





 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Sort

Description

The text that’s used to identify the Visualforce page in Setup.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix\_\_componentName notation.

The namespace prefix can have one of the following values.

- In Developer Edition orgs, NamespacePrefix is set to the namespace prefix of the org for all objects that support it, unless an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition org of the package developer.
- In orgs that are not Developer Edition orgs, NamespacePrefix is set only for objects that are part of an installed managed package. All other objects have no namespace prefix.





 |
| Type | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The organization type for this object.

- Org (includes custom domains)
- Community
- Site
- Portal







 |
| Url | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The login URL of the organization for this AuthConfig object. Each URL has only one associated AuthConfig object.





 |