mariovalney / laravel-keycloak-web-guard

Simple Keycloak Guard to Laravel Web Routes - https://packagist.org/packages/vizir/laravel-keycloak-web-guard
146 stars 80 forks source link

after redirecting auth()->user() returns an empty record #88

Open danielzzz opened 2 years ago

danielzzz commented 2 years ago

hi, thanks for this library.

for some reason when I get redirected back from keycloak server to my laravel app the auth()->user() returns an empty value.

^ Vizir\KeycloakWebGuard\Models\KeycloakUser {#1441 ▼
  #fillable: array:2 [▼
    0 => "name"
    1 => "email"
  ]
  #attributes: []
  +"id": null
}

do you know what might be the reason for this?

thanks in advance, best, dan

raturex commented 1 year ago

any updated ?

AdeSupriyadi commented 1 year ago

any updated ?