flutter_web_auth icon indicating copy to clipboard operation
flutter_web_auth copied to clipboard

Login with sso, could not remember login session as other explorer like Safari or Chrome

Open AugustWangVeeva opened this issue 3 years ago • 4 comments

I login with sso use FlutterWebAuth.authenticate, and then show up with the login page like pingone or okta, login successfully, then logout of the app, then login again with sso, I still need to input the username and password, and sign in again, it does not remember the last login session. But the save case with local explorer like Chrome or Safari, once I login, it could remember the session, and even I close the explorer and open the sso login page again, it could use the save session to login by itself. Could the explorer that FlutterWebAuth uses to remember the session like local explorer?

AugustWangVeeva avatar Apr 13 '22 03:04 AugustWangVeeva

check if "preferEphemeral" is set to false

DmitriyIgnashchenko avatar Apr 14 '22 19:04 DmitriyIgnashchenko

it is set to true

AugustWangVeeva avatar Apr 15 '22 05:04 AugustWangVeeva

Should be false

DmitriyIgnashchenko avatar Apr 15 '22 06:04 DmitriyIgnashchenko

Works! Thank you so much!!!

AugustWangVeeva avatar Apr 15 '22 06:04 AugustWangVeeva