Contents Now Platform Custom Business Applications Previous Topic Next Topic Configure a REST message with OAuth Subscribe Log in to subscribe to topics and get notified when content changes. ... SAVE AS PDF Selected Topic Topic & Subtopics All Topics in Contents Share Configure a REST message with OAuth You can configure an outbound REST message to send OAuth credentials with the request. Before you beginRole required: web_service_admin and oauth_adminBefore starting this procedure, ensure: There is a REST Message record that you want to configure to use OAuth. There is an OAuth provider set up in the OAuth application registry with the OAuth client information to use. The OAuth provider has an associated OAuth 2.0 profile. The REST message HTTP Methods are not configured to use a MID Server. Note: Ensure any scripts that call this REST message use the RESTMessageV2 API. The RESTMessageV2 API is required to send authenticated REST messages via scripts. Procedure Navigate to System Web Services > Outbound > REST Message. Select a REST message record. In the Authentication type field, select OAuth 2.0. In the OAuth profile field, select the OAuth 2.0 profile that specifies the credentials you want to send. Right-click the form header and select Save. An info message appears at the top of the form indicating that you must request a new OAuth token. Click the Get OAuth Token related link. Depending on your OAuth provider, a separate window from your provider may appear asking for confirmation before providing a token. Complete any steps required by the provider to obtain the token. What to do nextTest the REST message to ensure you receive the expected response. You can optionally specify different authentication settings for each HTTP method related to this REST message, overriding the parent REST message settings. Use a third-party OAuth providerEach client application must register with the instance to participate in OAuth authorization. You can use a third-party OAuth provider to authorize access.Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts APIThis tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information. On this page Send Feedback Previous Topic Next Topic
Configure a REST message with OAuth You can configure an outbound REST message to send OAuth credentials with the request. Before you beginRole required: web_service_admin and oauth_adminBefore starting this procedure, ensure: There is a REST Message record that you want to configure to use OAuth. There is an OAuth provider set up in the OAuth application registry with the OAuth client information to use. The OAuth provider has an associated OAuth 2.0 profile. The REST message HTTP Methods are not configured to use a MID Server. Note: Ensure any scripts that call this REST message use the RESTMessageV2 API. The RESTMessageV2 API is required to send authenticated REST messages via scripts. Procedure Navigate to System Web Services > Outbound > REST Message. Select a REST message record. In the Authentication type field, select OAuth 2.0. In the OAuth profile field, select the OAuth 2.0 profile that specifies the credentials you want to send. Right-click the form header and select Save. An info message appears at the top of the form indicating that you must request a new OAuth token. Click the Get OAuth Token related link. Depending on your OAuth provider, a separate window from your provider may appear asking for confirmation before providing a token. Complete any steps required by the provider to obtain the token. What to do nextTest the REST message to ensure you receive the expected response. You can optionally specify different authentication settings for each HTTP method related to this REST message, overriding the parent REST message settings. Use a third-party OAuth providerEach client application must register with the instance to participate in OAuth authorization. You can use a third-party OAuth provider to authorize access.Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts APIThis tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information.
Configure a REST message with OAuth You can configure an outbound REST message to send OAuth credentials with the request. Before you beginRole required: web_service_admin and oauth_adminBefore starting this procedure, ensure: There is a REST Message record that you want to configure to use OAuth. There is an OAuth provider set up in the OAuth application registry with the OAuth client information to use. The OAuth provider has an associated OAuth 2.0 profile. The REST message HTTP Methods are not configured to use a MID Server. Note: Ensure any scripts that call this REST message use the RESTMessageV2 API. The RESTMessageV2 API is required to send authenticated REST messages via scripts. Procedure Navigate to System Web Services > Outbound > REST Message. Select a REST message record. In the Authentication type field, select OAuth 2.0. In the OAuth profile field, select the OAuth 2.0 profile that specifies the credentials you want to send. Right-click the form header and select Save. An info message appears at the top of the form indicating that you must request a new OAuth token. Click the Get OAuth Token related link. Depending on your OAuth provider, a separate window from your provider may appear asking for confirmation before providing a token. Complete any steps required by the provider to obtain the token. What to do nextTest the REST message to ensure you receive the expected response. You can optionally specify different authentication settings for each HTTP method related to this REST message, overriding the parent REST message settings. Use a third-party OAuth providerEach client application must register with the instance to participate in OAuth authorization. You can use a third-party OAuth provider to authorize access.Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts APIThis tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information.