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(ddc): Do not sign an access token if already signed properly #255

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

skambalin
Copy link
Collaborator

The SDK was always signing a provided access token event if it is already signed. It led to problems with signed, not delegated tokens shared between users. The tokens signature was updated making the tokens invalid.

After this fix, if the token is already properly signed the SDK will not sign it again.

Related bug report:
https://www.notion.so/cere/One-level-access-tokens-72b586e30b1744768ed480689043ff45?pvs=4

@skambalin skambalin requested a review from upalinski July 4, 2024 06:21
@skambalin skambalin self-assigned this Jul 4, 2024
@skambalin skambalin requested a review from jwoloch July 4, 2024 08:41
@skambalin skambalin merged commit 8f275de into main Jul 4, 2024
2 checks passed
@skambalin skambalin deleted the fix/one-level-access-tokens branch July 4, 2024 08:46
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