AuthScheme Parameter (Connect-ServiceNow Cmdlet)
Specifies the authentication method that the provider uses to connect to ServiceNow.
Syntax
Connect-ServiceNow -AuthScheme string
Possible Values
Basic, OAuth, OAuthPassword, OAuthJWT, OKTA, ADFS, OneLogin, PingFederateData Type
cstr
Default Value
"Basic"
Remarks
Set this property to define the authentication scheme used when connecting to the ServiceNow instance.
The following values are supported:
- Basic: Uses Basic authentication.
- OAuth: Uses OAuth 2.0 authentication. You must specify the OAuth client credentials and complete the authentication flow.
- OAuthPassword: Uses OAuth 2.0 authentication with the Password grant type.
- OAuthJWT: Uses OAuth 2.0 authentication with JWT (JSON Web Token) grant type.
The following single sign-on (SSO) options are also supported:
- Okta: Uses Okta as the identity provider.
- ADFS: Uses Active Directory Federation Services (ADFS) as the identity provider.
- OneLogin: Uses OneLogin as the identity provider.
- PingFederate: Uses PingFederate as the identity provider.