{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21234,"path":"integrate-applications/integration-hub/generate-endpt-oauth2.md","title":"Manage endpoint with OAuth 2.0 support","bundle":null,"doc_type":null,"release":"australia","body":"\n# Manage endpoint with OAuth 2.0 support\n\nManage endpoint for webhooks in third-party applications that support the OAuth 2.0 authentication. The endpoint enables webhooks to connect with your ServiceNow instance.\n\n## Before you begin\n\nRole required: flow\\_designer and connection\\_admin\n\nSubscription required: This feature requires an Integration Hub subscription. For more information, see [Legal schedules - IntegrationHub overview](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf).\n\nEnsure that you've installed the required spoke plugin.\n\nEnsure that you have created an OAuth application endpoint for the external client applications to access the ServiceNow instance. For more information about creating an inbound OAuth application endpoint, see [OAuth Inbound](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/oauth-inbound.md).\n\n-   If you want to create an OAuth application endpoint for external client applications to access the ServiceNow instance, see [Create an endpoint for clients to access the instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/t_CreateEndpointforExternalClients.md).\n-   If you want to create an OAuth JWT API endpoint for external clients to access the ServiceNow instance, see [Create an OAuth JWT API endpoint for external clients \\(machine to machine integration\\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-security/create-jwt-endpoint.md).\n\n**Parent Topic:**[Set up external trigger endpoints](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/set-up-external-webhook-endpoints.md)\n\n## Configure endpoint with OAuth 2.0 support\n\nConfigure endpoint for webhooks in third-party applications that support the OAuth 2.0 authentication.\n\n### Before you begin\n\nRole required: flow\\_designer and connection\\_admin\n\n### Procedure\n\n1.  Under the Endpoints heading, select **Configure** for the connection to set up an endpoint with OAuth authentication support.\n\n    \\[Omitted image \"oauth-endpoint-ext-trigger.png\"\\] Alt text: Configure button for OAuth authentication.\n\n2.  In the Configure endpoint form, click \\[Omitted image \"select-roles-plus-icon.png\"\\] Alt text: Select roles icon. to add role in **Required roles**.\n\n    To select one or more roles, select \\[Omitted image \"select-roles-drop-down.png\"\\] Alt text: Select roles icon. or enter the name of one or more roles.\n\n    \\[Omitted image \"oauth-endpoint-ext-trigger-user.png\"\\] Alt text: Add required roles.\n\n3.  Select the required application registry record.\n\n4.  To generate the endpoint, select **Activate**.\n\n    \\[Omitted image \"oauth-endpoint-ext-trigger-2.png\"\\] Alt text: Activate the endpoint.\n\n    The endpoint URL is generated in **URL**.\n\n    \\[Omitted image \"oauth-endpoint-ext-trigger-URL.png\"\\] Alt text: Copy the endpoint URL.\n\n5.  To copy the endpoint, select the copy endpoint icon \\(\\[Omitted image \"copy-endpoint-icon.png\"\\] Alt text: Copy endpoint icon.\\)\n\n    **Tip:** Keep the endpoint at a secure place to use later at the third-party application webhook.\n\n\n## Deactivate endpoint with OAuth 2.0 support\n\nDeactivate an active endpoint with OAuth 2.0 support while retaining the configurations to activate it later when needed.\n\n### Before you begin\n\nRole required: flow\\_designer and connection\\_admin\n\n### Procedure\n\n1.  Under the Endpoints heading, for the required endpoint, click **Edit**\n\n2.  Click **Deactivate**.\n\n    \\[Omitted image \"oauth-endpoint-ext-trigger-deactivate.png\"\\] Alt text: Deactivate the required endpoint.\n\n3.  To confirm deactivation, select **Deactivate**.\n\n    \\[Omitted image \"oauth-endpoint-ext-trigger-deactivate-conf.png\"\\] Alt text: Confirm to deactivate the required endpoint.\n\n4.  To activate again, on the connection record, select **Edit**.\n\n5.  Select **Activate**.\n\n    \\[Omitted image \"oauth-endpoint-ext-trigger-activate.png\"\\] Alt text: Activate the required endpoint.\n\n\n## Deconfigure endpoint with OAuth 2.0 support\n\nDeactivate an endpoint with OAuth 2.0 support to remove the existing configurations. Activate and configure the endpoint later when needed.\n\n### Before you begin\n\nRole required: flow\\_designer and connection\\_admin\n\n### Procedure\n\n1.  Under the Endpoints heading, click the more options icon \\(\\[Omitted image \"oauth-more-options-icon.png\"\\] Alt text:\\).\n\n    \\[Omitted image \"oauth-deconfigure.png\"\\] Alt text: Deconfigure the required endpoint.\n\n2.  Click **Deconfigure**.\n\n3.  When prompted, confirm your choice to deconfigure.\n\n    \\[Omitted image \"oauth-deconfigure-confirmation.png\"\\] Alt text: Confirm to deconfigure.\n\n    The configuration for the endpoint is removed from the connection.\n\n\n"}}