In this article
Overview
You can use this account type to connect API Suite Snaps with data sources that use SSL OAuth2 accounts.
Prerequisites
Valid Client ID and Client secret.
Limitations and Known Issues
None.
Account Settings
Asterisk ( * ): Indicates a mandatory field.
Suggestion icon ( ): Indicates a list that is dynamically populated based on the configuration.
Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon ( ): Indicates that you can add fields in the fieldset.
Remove icon ( ): Indicates that you can remove fields from the fieldset.
Field Name | Field Type | Description | |
---|---|---|---|
Label*
Default Value: N/A | String | Specify a unique and meaningful name for your account.
| |
Client ID* Default Value: N/A | String | Specify the client ID associated with your account. You can create the client ID as advised by your application provider. | |
Client secret Default Value: N/A | String | Specify the client secret associated with your account. You can create the client secret as advised by your application provider. | |
Access token Default Value: N/A | String | Auto-generated after authorization. SnapLogic® uses this token to make API requests on behalf of the user associated with the client ID. The retrieval of the access token is done when setting up the account for the endpoint. The resulting access token obtained from the OAuth2.0 flow is stored in this field. | |
Refresh token Default Value: N/A | String | Auto-generated after authorization. The refresh token associated with your account. If the refresh token is stored, then the access token can be refreshed automatically before the token expires. | |
Access token expiration Default Value: Current Time + 3600 seconds | String | Auto-generated after authorization. The access token expiration value, in seconds. | |
Header authenticated Default Value: Deselected | Checkbox | Select this checkbox to indicate that the endpoint uses bearer header authentication. You must select the Header Authenticated checkbox in the account for the successful execution of the pipeline. You might be able to authorize the account successfully with or without enabling that checkbox. However, the pipeline fails if the checkbox is deselected in the account. | |
OAuth2 authorization endpoint* Default Value: N/A | String | Specify the authorization endpoint that authorizes the application.
| |
OAuth2 token endpoint* Default Value: N/A | String | Specify the URL of the endpoint that retrieves the token for an authenticated account.
| |
Grant type Default Value: Authorization Code | Dropdown List | Select the method of authorization:
| |
KeyStore Default Value: N/A | String | Specify the location of the key store file. It can be in SLDB or at any other unauthenticated endpoint.
| |
TrustStore Default Value: N/A | String | Specify the location of the trust store file. It can be in SLDB or at any other unauthenticated endpoint.
| |
Key/Trust store password Default Value: N/A | String | Specify the password for the key/trust store. It is used for both Key and Trust stores, if both are defined.
| |
Key alias Default Value: N/A | String | Specify the alias of the key that you want to use with this account.
| |
Token endpoint config | Use this field set to provide custom properties for the OAuth2 token endpoint. | ||
Token endpoint parameter | String | Specify an optional token endpoint parameter.
| |
Token endpoint parameter value | String | Specify the value associated with the optional endpoint parameter defined above.
| |
Auth endpoint config | Use this field set to provide custom properties for the OAuth2 auth endpoint. | ||
| Auth endpoint parameter
| String | Define an optional authorization endpoint parameter.
|
| Auth endpoint value
| String | Specify the value associated with the optional authorization endpoint parameter defined above.
|
Auto-refresh token Default Value: Deselected | Checkbox | Select this checkbox to refresh the token automatically using the refresh token. When you deselect this checkbox, the token expires and is not refreshed automatically. | |
Authorize
| Button | Click this button to authorize the REST OAuth2 account using the credentials provided in the Client ID, Client secret, OAuth2 authorization endpoint, and OAuth2 token endpoint fields. |
Troubleshooting
Error | Reason | Resolution |
---|---|---|
One or more required fields are blank. | You click Authorize in the account dialog window, but one or more of the following fields is blank:
| Insert valid details into the following fields and click Authorize.
|
| Got response 401 - Unauthorized from the endpoint. | Refer to the error document in the error view for more information. |
Snap Pack History
Release | Snap Pack Version | Date | Type | Updates |
---|---|---|---|---|
May 2024 | 437patches26491 |
| Latest | Fixed an issue with the GraphQL Client Snap that displayed an error when passing the |
May 2024 | main26341 | Stable | Updated and certified against the current SnapLogic Platform release. | |
February 2024 | 436patches25508 |
| Latest | Enhanced the HTTP Client Snap to optimize the memory usage by accumulating the |
February 2024 | 463patches25211 |
| Latest | Enhanced the GraphQL Client Snap to include detailed stack trace, error message, and reason within the Snap error view output. |
February 2024 | main25112 |
| Stable | Updated and certified against the current SnapLogic Platform release. |
November 2023 | 435patches25047 |
| Latest | Fixed an issue that caused the HTTP Client Snap to fail when the Basic Authentication account password contained special characters. |
November 2023 | 435patches24708 |
| Latest |
|
November 2023 | 435patches24208 |
| Latest | Fixed an issue with the HTTP Client Snap that caused incorrect parsing of the |
November 2023 | 435patches23943 |
| Latest | Fixed an issue with the GraphQL Client Snap that displayed a null pointer exception when the Header authenticated checkbox in the OAuth2 Account is deselected. The Snap now passes the credentials appropriately using URL parameters when the Header authenticated field is deselected. |
November 2023 | main23721 |
| Stable | Added the Google Service Account to the HTTP Client Snap, which enables you to connect to various Google Cloud endpoints such as Analytics 4 and Compute Engine. |
August 2023 | 434patches23079 |
| Latest | Fixed an issue with the SnapLogic SSL Account for the HTTP Client Snap where a blank keystore or truststore URL caused an error during account configuration. |
August 2023 | 434patches22631 |
| Latest | Fixed an issue with the HTTP Client Snap that displayed incorrect cookie information, with a null value in the cookies when you have duplicate cookies in the header. The Snap now displays the cookie information correctly. |
August 2023 | main22460 |
| Stable | Updated and certified against the current SnapLogic Platform release. |
May 2023 | 433patches22065 |
| Latest | Fixed an issue with the GraphQL Client Snap that caused an error even when the variable value was defined in the previous Snap. |
May 2023 | 433patches21959 |
| Latest | Fixed an issue with the HTTP Client Snap that caused an intermittent connectivity issue, which resulted in a |
May 2023 | 433patches21860 |
| Latest | Fixed an issue with the HTTP Client Snap where the Snap now conceals the additional authentication headers in the debug information for Secured Headers Account. |
May 2023 | 433patches21346 |
| Latest | Fixed an issue with the HTTP Client Snap where the validation of the SSL Account for a specified Keystore or Truststore value failed despite providing the correct password. |
May 2023 | 433patches21307 |
| Latest | Fixed an issue with the HTTP Client Snap that caused pagination to fail when the next Snap in the pipeline could modify the input document (for example, the Mapper Snap). Behavior Change: |
May 2023 | 433patches21140 |
| Latest |
|
May 2023 | main21015 |
| Stable | Introduced the GraphQL Client Snap, which enables you to query a GraphQL endpoint and retrieve data. This Snap features a built-in query builder to help you efficiently build queries. |
February 2023 | 432patches20818 |
| Latest |
|
February 2023 | 432patches20054 |
| Latest | For Snaps using AWS Signature V4 accounts, DNS canonical names are now supported for S3 buckets. |
February 2023 | main19844 |
| Stable | Upgraded with the latest SnapLogic Platform release. |
November 2022 | 431patches19006 |
| Latest | The HTTP Client Snap does not fail when making a PATCH request containing an empty response body and location in the Headers. The Snap checks the entity length if the response entity is empty and skips the data conversion. |
November 2022 | main18944 |
| Stable | The HTTP Client Snap now accepts the default value |
October 2022 | 430patches18454 |
| Latest and Stable | Introduced the API Suite Snap Pack that contains the HTTP Client Snap. This Snap unifies all supported HTTP methods: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, and PATCH that you can execute on a REST API service endpoint. |