laravel / socialite

Laravel wrapper around OAuth 1 & OAuth 2 libraries.
https://laravel.com/docs/socialite
MIT License
5.5k stars 941 forks source link

Laravel Socialite Cognito is destroying the session on login #609

Closed basiltap closed 1 year ago

basiltap commented 1 year ago

"bumbummen99/shoppingcart": "^4.2",

Description:

Working in Laravel 9 with LaravelShoppingcart (bumbummen99/shoppingcart) and Socialite Cognito. I have a registration schedule where students can apply for diverse courses and added to the Cart. At the checkout I make an authentication with cognito, but it returns a new session and destroy the last session where the cart is stored.

I have checked the docs and the config files, but I cannot find any point about this.

Can you help me, please?

Working in Laravel 9 with LaravelShoppingcart and Socialite Cognito. I have a registration schedule where students can apply for diverse courses and added to the Cart. At the checkout I make an authentication with cognito, but it returns a new session and destroy the last session where the cart is stored.

I have checked the docs and the config files, but I cannot find any point about this.

Can you help me, please?

Steps To Reproduce:

Add something to cart Login through cognito to go the checkout page After return Socialite::driver('cognito')->redirect(), once in handleProviderCallBack(Request $request), there is nothing in the session() neither in Cart::content() Cart lost!

driesvints commented 1 year ago

We don't maintain this package unfortunately. Please open an issue on their issue tracker.