AuthScheme Parameter (Connect-Wordpress Cmdlet)
Specifies the authentication scheme to use when connecting to WordPress or WordPressOnline.
Syntax
Connect-Wordpress -AuthScheme string
Possible Values
Basic, OAuth, OAuthClient, OKTA, PingFederate, AzureAD, OAuthPasswordData Type
cstr
Default Value
"Basic"
Remarks
This property specifies the authentication scheme to use when connecting to WordPress or WordPressOnline.
The available values are:
- For WordPress: Basic, OAuth, OAuthClient, Okta, PingFederate, AzureAD.
- For WordPressOnline: OAuth, OAuthPassword.
Option descriptions:
- Basic: Use Basic user/password authentication. Recommended only for testing environments.
- OAuth: Use standard OAuth 2.0 authentication flows.
- OAuthClient: Use OAuth 2.0 Client Credentials grant type.
- Okta: Use Okta SSO authentication.
- PingFederate: Use PingFederate SSO authentication. Requires a valid license and customer-side configuration for validation.
- AzureAD: Use Azure Active Directory (Entra ID) SSO authentication.
- OAuthPassword: Use OAuth password authentication with the WordPressOnline schema.