© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
3y ago
•
2 replies
elsayed85
passing auth user to script data return null
when passing auth user to script data and chechk console it returns null
https://filamentphp.com/docs/3.x/support/assets#registering-script-data
i think this beacuse i put the code inside the app service provider
, so i cant access to auth user
[ always return null
]
Assets - Core Concepts - Filament
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
auth()->user() everytime null
F
Filament / ❓┊help
3y ago
auth()->user()->is_admin inside AdminPanel Provider return null
F
Filament / ❓┊help
2y ago
auth()->user() is NULL for loading custom assets with data
F
Filament / ❓┊help
2y ago
auth()->user() is null after login
F
Filament / ❓┊help
2y ago