HYBR HA Environment Shared Cookie Authentication Configuration - Session Time Out issue Solution
Why this is needed?
In Hybr HA Environments, If requests from customer are distributed between 2 machines the cookie from one machine is not authenticated by another machine hence caused the Session time out error in the admin and tenant portals often.
In order to resolve this, we have introduced shared cookie authentication which will store the encryption algorithm and secret key used for encrypting the cookies.
Configuration to be done to enable shared cookie authentication
- Set the appsetting IsSharedCookieAuthenticationEnabled in the web.config file to true.
- Configure the network file share which is accessible from the Hybr HA machines.
- Update the network share location in the web.config file in the appsetting
- SharedCookieLocation in the format \HybrApp01\keyDirectory
- Try to load the Hybr Portal. the portal should load without any issues.
- If the network share is not accessible from any of hybr HA machines, it will throw error on loading the portals. Make sure, the network share location is accessible from the HYbr HA machines.
- Once the portal is loaded, you should be able to see a file generated in the network share location which has the information about shared cookie authentication.
Related Articles
Azure Active Directory setup helper for Hybr
AAD Prerequisites On completing the steps documented here, below information would be available for configuring Hybr application, Directory ID Application ID Application Client Secret Azure Storage account connection string Azure Storage queue URL ...
Hybr + HCI feature integration document
Hybr + HCI feature integration document
Hybr Release Notes - 2407.3
Release Notes Version: 1.2407.3.6 Release Date: 18.09.2024 Prepared by: Hybr Team Overview This release introduces several features aimed at enhancing network management and security for Azure Stack HCI VMs. The following updates include support for ...
Hybr Documentation
Hybr Documentation has extensive information on various topics. Please check it out. Introduction - Hybr® (cloudassert.com) Microsoft CSP - Hybr® (cloudassert.com) New Commerce Experience (NCE) - Hybr® (cloudassert.com) Reseller Management - Hybr® ...
Hybr Product Feedback
At Cloud Assert we build all features with the same philosophy: we want to help our customers see business value in everything we do and be able to leverage technology to simplify existing flows and accelerate their business goals. For all our ...