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: package api key and endpoint correctly in generate token/api key responses #467

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

anitarua
Copy link
Contributor

@anitarua anitarua commented Jul 19, 2024

Addition to https://github.com/momentohq/dev-eco-issue-tracker/issues/954

Found a bug in how GenerateApiKey and GenerateDisposableToken packages the responses (JS sdk for reference).

This PR fixes the issue by ensuring "api_key" and "endpoint" are included in the b64-encoded object that's passed to the responses' ApiKey field.

@anitarua anitarua requested review from eaddingtonwhite and a team July 19, 2024 21:22
@anitarua anitarua marked this pull request as ready for review July 19, 2024 21:23
@anitarua anitarua merged commit 2a4ee7f into main Jul 19, 2024
6 checks passed
@anitarua anitarua deleted the fix-generate-response branch July 19, 2024 21:48
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