AuthScheme Parameter (Connect-Shopify Cmdlet)
Specifies the authentication method used to connect to your Shopify store.
Syntax
Connect-Shopify -AuthScheme string
Possible Values
OAuth, OAuthClient, AccessTokenData Type
cstr
Default Value
"OAuth"
Remarks
Use this property to control how the cmdlet authenticates with the Shopify API:
- OAuth: Select this to authenticate using the standard OAuth 2.0 Authorization Code grant. This option is recommended for most integrations (especially public apps) as it supports user consent.
- OAuthClient: Select this to authenticate using the OAuth 2.0 Client Credentials grant. This is used for server-to-server integrations where the application authenticates directly without user interaction.
- AccessToken: Select this to authenticate using a static Admin API Access Token generated from a Custom App. This is suitable for private or internal apps where you have a permanent token and do not need interactive login.