mirror of https://github.com/requarks/wiki
fix: authenticate GraphQL subscription WebSocket connections (#7922)
The onConnect handler for GraphQL subscriptions was empty, allowing any client to establish a WebSocket connection and subscribe to loggingLiveTrail without authentication. Added JWT verification in onConnect using the same RS256 credentials and permission checks (manage:system) used elsewhere. Co-authored-by: kolega.dev <faizan@kolega.ai>pull/7726/merge v2.5.312
parent
7ae6635d16
commit
d14b0a5509
Loading…
Reference in new issue