laravel-saml2 icon indicating copy to clipboard operation
laravel-saml2 copied to clipboard

Laravel 8

Open tomasdelvechio opened this issue 4 years ago • 8 comments

I could use this library with laravel 8. It could be clarified in the README that the support is for all Laravel versions.

tomasdelvechio avatar Oct 28 '20 19:10 tomasdelvechio

I could use this library with laravel 8. It could be clarified in the README that the support is for all Laravel versions.

@tomasdelvechio Did you get any error like below? in Laravel8 + PHP8.0

image image

yasharrow avatar Sep 21 '21 14:09 yasharrow

@yasharrow I dont remember any error, but I check this tomorrow

tomasdelvechio avatar Sep 21 '21 18:09 tomasdelvechio

@yasharrow I dont remember any error, but I check this tomorrow

@tomasdelvechio Did you get a chance to check on above?

yasharrow avatar Oct 04 '21 08:10 yasharrow

@tomasdelvechio Did you get a chance to check on above?

Sorry, I forgot to comment. I don't get this error in my installation.

tomasdelvechio avatar Oct 04 '21 13:10 tomasdelvechio

@tomasdelvechio Trying to use the library with Laravel 8 too. Everything works, but session does not persist after user login in the event listener. Did you have any similar issues? How did you solve them?

hackerkok avatar Oct 19 '21 14:10 hackerkok

@tomasdelvechio Trying to use the library with Laravel 8 too. Everything works, but session does not persist after user login in the event listener. Did you have any similar issues? How did you solve them?

I didn't keep testing this library. I had only tested that it worked in Laravel 8 and returned the correct user after the SAML process. In fact I don't know how to link that with a Laravel session.

tomasdelvechio avatar Oct 19 '21 14:10 tomasdelvechio

@hackerkok have you checked this part of the README file? I forgot to do that step for some projects, resulting in the problem you describe.

sandervdo avatar Oct 29 '21 22:10 sandervdo

@hackerkok have you checked this part of the README file? I forgot to do that step for some projects, resulting in the problem you describe.

My problem was that I was not storing the user in the db. After storing the logged in user, my problem was solved. (Sorry for the late reply)

similar issue here https://github.com/aacotroneo/laravel-saml2/issues/39#issuecomment-962670925

hackerkok avatar Nov 07 '21 20:11 hackerkok