Skip to content

fix(Express): properly format basic auth creds #224

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

Merged
merged 3 commits into from
Jun 19, 2019
Merged

Conversation

jeff-arn
Copy link
Contributor

@jeff-arn jeff-arn commented Jun 19, 2019

previously, some object shorthand was being done, which caused the credential object to be
improperly nested under a "token" key. this caused the frontend code to pass an object instead of
the actual api key, which broke all websocket connections.

@germanattanasio as we discussed. if you can review quickly i'd appreciate it as this bug is causing issues in the live demo. thanks 👍

previously, some object shorthand was being done, which caused the credential object to be
improperly nested under a "token" key. this caused the frontend code to pass an object instead of
the actual api key, which broke all websocket connections.
@jeff-arn jeff-arn requested a review from germanattanasio June 19, 2019 19:41
@jeff-arn jeff-arn self-assigned this Jun 19, 2019
jeff-arn added 2 commits June 19, 2019 15:54
previously, just a string 'fakeToken' was returned, which is mismatched with the current expected
token object structure. this returns the actual fakeToken object that is declared in the test.
Copy link
Contributor

@lpatino10 lpatino10 left a comment

Choose a reason for hiding this comment

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

Looks good to me 👌

@jeff-arn jeff-arn merged commit b3cc4d7 into master Jun 19, 2019
@watson-github-bot
Copy link

🎉 This PR is included in version 2.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@germanattanasio germanattanasio deleted the fix/basic-auth-creds branch December 19, 2019 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants