Skip to content

Unable to access Auth::id() in asyncWidget #150

@imran-drewl

Description

@imran-drewl

HI @arrilot,

Thanks for this awesome widgets.

I'm facing an issue that when I use normal @widget I can can access authenticated user id in widget blade view using either auth()->user()->id or Auth::id() but not when use auto-reload or @asyncWidget.

I'm using laravel 8.*

I didn't published config file.

I have already seen this threat #102

and published config file in project there was already web middleware added in it.

I'm fetching data for widget from an API.

Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions