Nominated Discussion: Generate Cookie vs Accept Cookie

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Community Team Member
No ratings

Nominated discussion_Generate cookie vs Accept cookie.jpg


This Nominated Discussion Article is based on the post "Generate cookie vs Accept Cookie" by @Schneur_Feldman and responded to by @Raido_Rattameister . Read on to see the discussion and solution!


Hi Team,


Can anyone explain what Generate cookie and Accept cookie actually do? I always find myself messing with the cookie settings when enabling DUO/Azure SAML MFA but confused as to what the difference is and what they do.






GP Agent first connects to portal to pull down list of gateways.

Then it will connect to one of gateways (either based on priority or latency but this is different topic).

GP Agent will cache list of gateways. By default for 24 hours.


So every 24 hours GP Agent needs to connect to Portal to check if config has changed.


This causes user to accept DUO push for portal login and then right after second time for gateway login.


To overcome this you can configure portal to generate cookie and gateway to accept cookie with 1 minute timeout.

This means that if config has timed out in GP Agent and it connects to portal first portal will generate cookie and during second auth to gateway this cookie is used to authenticate instead of full SAML MFA.


If 1 minute passes, user disconnects and connect again then gateway don't accept any more this old cookie and SAML will be used with full blown 2FA auth.


Rate this article:
Register or Sign-in
Article Dashboard
Version history
Last Updated:
‎04-17-2023 09:38 AM
Updated by: