> add it on the jwt payload maybe so it's easily accessible?
Yea.. you can! But you will have to do this post session creation.
But honestly, this extra hop doesn't make much of a diff unless you have a HUGE HUGE userbase.. cause it happens only once on connect.