robsontenorio / laravel-keycloak-guard

🔑 Simple Keycloak Guard for Laravel
MIT License
434 stars 141 forks source link

Unable to get Auth::user() or Auth::check() response in blade files #34

Closed Mounika-12 closed 4 years ago

Mounika-12 commented 4 years ago

I am able to get the default methods response in controller files. But when I try to call the same methods in blade files like below

<!DOCTYPE html>

Welcome {{Auth::user()}} ` Getting empty response in the view. Please help me where I am going wrong?
robsontenorio commented 4 years ago

See #31