Set up the Cisco Webex Teams spoke
Integrate the ServiceNow instance and Cisco Webex Teams by creating a custom OAuth application in Cisco Webex Teams or using the custom Cisco Webex Credentials to authenticate ServiceNow requests.
Before you begin
- Request an Integration Hub subscription.
- Activate the Cisco Webex Teams spoke.
- Role required: admin.
You can choose to use either OAuth 2.0 or the custom credentials, Cisco Webex Credentials, for authentication.
Register Cisco Webex Teams as an OAuth provider
Use the information generated during the Cisco Webex Teams application configuration to register Cisco Webex Teams as an OAuth provider and allow the ServiceNow instance to request OAuth 2.0 tokens.
Before you begin
Role required: admin.
Procedure
Navigate to All > System OAuth > Application Registry.
Click New.
The system displays this message:
What kind of OAuth application?.Select Connect to a third party OAuth Provider.
On the form, fill these values.
| Field | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Name to uniquely identify the record. For example, enter: `Cisco Webex Teams OAuth` | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Client ID | Client ID created during the Cisco Webex Teams application configuration. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Client Secret | Client Secret created during the Cisco Webex Teams application configuration. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Authorization URL | OAuth authorization code endpoint. Enter: `https://webexapis.com/v1/authorize` | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Token URL | OAuth server token endpoint. Enter: `https://webexapis.com/v1/access_token` | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Token Revocation URL | OAuth server token revocation endpoint. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Redirect URL | OAuth callback endpoint in this format: `https://| OAuth API Script | Script to customize the request and response. Select OauthCiscoWebexTeamsUtils. | Logo URL | URL that contains an image to use as the application logo. | Default Grant Type | Grant type used to establish the token. Select Authorization Code. | Refresh Token Lifespan | Time, in seconds, that the refresh token is valid. The default time is 8,640,0000 seconds. | PKCE required | Option to enable public clients to require PKCE for an authorization.Note: You can use only Authorization Code as the Default Grant type when PKCE is enabled. | Application | Application scope that contains this record. | Accessible from | Application scope that this registry is accessible from. | Active | Option to actively use the application registry. | Use mutual authentication | Option to use mutual authentication for token request and revocation. This option requires a mutual authentication profile to be specified. |
What to do nextEnsure that the OAuth entity profile has these permissions: Image omitted: cisco-teams-entity-profiles.png OAuth entity profile scopes. Create a OAuth credential record for the Cisco Webex Teams SpokeCreate a credential record for the Cisco Webex Teams account. The Cisco Webex Teams Spoke connection and credential alias uses these credentials to authorize actions. Before you beginRole required: admin. Procedure
Create a connection and credential alias record for the Cisco Webex Teams SpokeCreate a credential record for the Cisco Webex Teams account. The Cisco Webex Teams Spoke connection and credential alias uses these credentials to authorize actions. Before you beginRole required: admin. Procedure
Image omitted: cisco\_webex\_teams\_conn-credential.png Cisco Teams Webex connection and credential alias
Image omitted: new\_connection\_credential\_cisco\_webex\_teams.png New connection and credentials for Cisco Webex Teams
Image omitted: connection\_record\_cisco\_webex\_teams.png Connection record for Cisco Webex Teams
Create a Connection & Credentials alias for Visa SpokeCreate a connection record for your . The Visa spoke connection and credential aliases use these connections to perform actions in . Procedure
|