Skip to content

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

Merged
danny-beton-lrn merged 1 commit into
masterfrom
LRN-51428/fix/events-api-user-hashes
Jun 29, 2026
Merged

[FIX] Events API user hashes placed in wrong location (LRN-51428)#45
danny-beton-lrn merged 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

@danny-beton-lrn danny-beton-lrn merged commit da292a2 into master Jun 29, 2026
1 check passed
@danny-beton-lrn danny-beton-lrn deleted the LRN-51428/fix/events-api-user-hashes branch June 29, 2026 08:56
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