JWT PreAuthentication

We’re currently using the JwtAuthProvider for our API to authenticate every request - we’d like to intercept the PreAuthentication event and inject our custom User-specific information into the (created) session.

What’s the recommended solution to accomplish this task?

You can use the CreatePayloadFilter to inject additional info into the JWT Token and PopulateSessionFilter callback to extract it and populate your UserSession with it.

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)