Skip to content

[FIX] Events API user hashes placed in wrong location (LRN-51428)#45

Open
danny-beton-lrn wants to merge 1 commit into
masterfrom
LRN-51428/fix/events-api-user-hashes
Open

[FIX] Events API user hashes placed in wrong location (LRN-51428)#45
danny-beton-lrn wants to merge 1 commit into
masterfrom
LRN-51428/fix/events-api-user-hashes

Conversation

@danny-beton-lrn

Copy link
Copy Markdown
Contributor

Summary

The Events API user hashes were being placed in security.users instead of config.users. This caused 403 errors when the client tried to subscribe to event topics, because the event bus couldn't find the authentication hashes where it expected them.

Changes

  • Fixed index.js to place hashed users in the request object (output as config.users) instead of the security packet
  • Updated test to assert correct output structure
  • Bumped version to 0.7.2
  • Added Events API quickstart example

Testing

  • Verified fix resolves the 403 subscription error in the browser
  • All unit tests passing

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