You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centrifugo v3 has cool feature - possibility to attach private metadata to a connection from connection proxy. But in case of JWT, the proxy is not called. The only way to use 'meta' property is to put it inside JWT token, so Centrifugo will pass it to other proxies. And here go problems. For example, I have 'tenantID' property in my JWT token and want to know it in subscription proxy. For this I'm forced to duplicate this property in my JWT token:
Centrifugo v3 has cool feature - possibility to attach private metadata to a connection from connection proxy. But in case of JWT, the proxy is not called. The only way to use 'meta' property is to put it inside JWT token, so Centrifugo will pass it to other proxies. And here go problems. For example, I have 'tenantID' property in my JWT token and want to know it in subscription proxy. For this I'm forced to duplicate this property in my JWT token:
And for every additional JWT token data I want to have access in my proxies, I need to duplicate it inside 'meta'.
As a solution, please provide complete JWT token body for every proxy call.
The text was updated successfully, but these errors were encountered: