Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing OAuth2 config for Snap integration #5158

Merged
merged 2 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ The types of changes are:

## [Unreleased](https://github.com/ethyca/fides/compare/2.42.0...main)

### Fixed
- Fixed the OAuth2 configuration for the Snap integration [#5158](https://github.com/ethyca/fides/pull/5158)

## [2.42.0](https://github.com/ethyca/fides/compare/2.41.0...2.42.0)

### Added
Expand Down
10 changes: 8 additions & 2 deletions data/saas/config/snap_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ saas_config:
name: Snap
type: snap
description: A sample schema representing the Snap integration for Fides
version: 0.1.0
version: 0.1.1

connector_params:
- name: domain
Expand Down Expand Up @@ -46,6 +46,9 @@ saas_config:
value: snapchat-marketing-api
token_request:
method: POST
client_config:
protocol: https
host: accounts.snapchat.com
galvana marked this conversation as resolved.
Show resolved Hide resolved
path: /login/oauth2/access_token
headers:
- name: Content-Type
Expand All @@ -56,11 +59,14 @@ saas_config:
"client_secret": "<client_secret>",
"grant_type": "authorization_code",
"code": "<code>",
"scope": "snapchat-marketing-api"
"scope": "snapchat-marketing-api",
galvana marked this conversation as resolved.
Show resolved Hide resolved
"redirect_uri": "<redirect_uri>"
}
refresh_request:
method: POST
client_config:
protocol: https
host: accounts.snapchat.com
path: /login/oauth2/access_token
headers:
- name: Content-Type
Expand Down
Loading