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
Is there a way to make them all optional? Not all my requests have an authenticated user (some are public routes) so being able to return 'nothing' would also come in quite handy.
The text was updated successfully, but these errors were encountered:
My app uses JWT to authenticate users, which only contain a user ID, and not a user name.
The current requirement for getting
extractUserData
to work (based on the types at least) is to always provide a username though:fastify-sentry/utils.d.ts
Line 29 in 598a4dc
Is there a way to make them all optional? Not all my requests have an authenticated user (some are public routes) so being able to return 'nothing' would also come in quite handy.
The text was updated successfully, but these errors were encountered: