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

Update KeycloakWebGuardServiceProvider.php #4

Closed Mnikoei closed 4 years ago

Mnikoei commented 5 years ago

Session which contains keycloak token can not be retreived in keycloakWeb middleware becuase of missing EncryptCookies and AddQueuedCookiesToResponse middlewares on routes defined in KeycloakWebGuardServiceProvider.php

cdkey22 commented 4 years ago

I agree and did the same correction before seeing your suggestion (so many time lost). Is the merge scheduled ? Thank you

mariovalney commented 4 years ago

Hi @Mnikoei . Thanks for your contribution.

I tested here and everything is ok.

Sorry guys for take so long to merge.

cdkey22 commented 4 years ago

Allright , I did test your release using v1.5.0 in composer and it seems to work. Thank you for the job you did !