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

fix(oauth2_cc): add necessary parameters when creating connection #2345

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

hassan254-prog
Copy link
Contributor

Describe your changes

Add necessary parameters for generating and refreshing an access_token in oauth2_cc.

Issue ticket number and link

Checklist before requesting a review (skip if just adding/editing APIs & templates)

  • I added tests, otherwise the reason is:
  • I added observability, otherwise the reason is:
  • I added analytics, otherwise the reason is:

@@ -788,7 +788,7 @@ class ConnectionService {

const oauth2Creds: OAuth2ClientCredentials = {
type: 'OAUTH2_CC',
token: rawCreds['token'],
token: rawCreds['access_token'] || rawCreds['data']['token'],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To ensure that personio does not break for other users.

@khaliqgant
Copy link
Member

Will try and test this tomorrow to make sure nothing breaks with these changes

@khaliqgant khaliqgant merged commit dabfdad into NangoHQ:master Jun 24, 2024
18 of 20 checks passed
khaliqgant pushed a commit that referenced this pull request Jun 24, 2024
## Describe your changes
Add support for various `oauth2_cc` providers, to further test
[2345](#2345)

- Ory
- Cloudentity
- Twitter
- Spotify 

## Issue ticket number and link

## Checklist before requesting a review (skip if just adding/editing
APIs & templates)
- [ ] I added tests, otherwise the reason is: 
- [ ] I added observability, otherwise the reason is:
- [ ] I added analytics, otherwise the reason is:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants