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

One Token, Multiple Credentials #2970

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
5cb1038
Database migrations
elias-ba Feb 25, 2025
2c3f3ef
Ecto models
elias-ba Feb 25, 2025
0a9a0a6
Modify create_credential/2 and update_credential/2 in the Credentials…
elias-ba Feb 25, 2025
a517ae7
Update liveview to align with new data model
elias-ba Feb 25, 2025
286b065
Add utility function to load credentials with oauth fields when neces…
elias-ba Feb 25, 2025
9ba41da
Refactor and clean
elias-ba Feb 25, 2025
82f506e
Refactor and clean
elias-ba Feb 25, 2025
b24abbb
Credo warnings
elias-ba Feb 25, 2025
9e23733
Refresh tokens, Refactor and Clean old implementations
elias-ba Feb 26, 2025
190499b
Put back old implementation and handle mix verify report
elias-ba Feb 27, 2025
a448d00
Tests, Factories, and Refactoring
elias-ba Mar 2, 2025
7a01323
Update CL
elias-ba Mar 3, 2025
228974c
Fix bug on finding existing tokens when scopes are not sorted
elias-ba Mar 3, 2025
ae7ae08
Remove unnecessary comments and clean code
elias-ba Mar 3, 2025
5ffddc2
Tests for Oauth token error handling
elias-ba Mar 3, 2025
4420cda
Tests for update and create credential transaction errors
elias-ba Mar 3, 2025
5b824aa
Tests for Oauth token management
elias-ba Mar 3, 2025
e5d5a57
Tests for refresh_token logic, oauth token validation, and normalize_…
elias-ba Mar 3, 2025
7a986d4
Fix failing tests
elias-ba Mar 4, 2025
efe8743
Remove unreachable code
elias-ba Mar 4, 2025
777133b
Test for credential body merging during run
elias-ba Mar 4, 2025
b6d92f8
Tests for OauthToken Ecto model
elias-ba Mar 4, 2025
929b817
Tests OauthToken validates missing required OAuth body parts
elias-ba Mar 4, 2025
89cce48
Restore new lines in OauthHTTPClient module
elias-ba Mar 4, 2025
47be961
Move functions to context file
elias-ba Mar 6, 2025
0e30c9a
Allow refresh_token reusage
elias-ba Mar 7, 2025
8a6b18f
Migrate OAuth credentials to OAuth tokens
elias-ba Mar 7, 2025
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ and this project adheres to

- Update Collections admin UI storage counter after deleting all
[#2986](https://github.com/OpenFn/lightning/issues/2986)
- Allow the possibility for OAuth Tokens to be associated with multiple
credentials [#2908](https://github.com/OpenFn/lightning/issues/2908)

### Changed

Expand Down
Loading