How to retrieve current logged in user in AdminPanelProvider? 🤔

i need to know which user is logged in to show a badge or hide it in a plugin of the filament admin panel

but auth()->user() is always null

related: https://discord.com/channels/883083792112300104/997955484223021157/1192526659035873380
Was this page helpful?