Q: How do we setup our self-hosted EP to allow for both Active Directory users And users outside our domain (Forms authenticated users)?
A: You'll need a cache balancing tool called Redis to keep the info for both types of users dynamic and up to date. See the steps, below.
- Create a separate virtual folder/application in IIS that points to a folder that is a copy of existing EP folder that is used for a site with Windows authentication, and enable Forms authentication for it and make sure Anonymous auth is enabled, too.
- Download and install Redis from: https://github.com/MSOpenTech/redis/releases
- There should be no special requirements for Redis - and no special configuration - install, start, then put a server name and other Redis info in that section of the web.config file
<RedisHost> </RedisHost>
<RedisPassword> </RedisPassword>
<RedisSyncTimeout>2000</RedisSyncTimeout>
<RedisEpTimeout>100</RedisEpTimeout>
<RedisPort>6379</RedisPort>
<RedisPassword> </RedisPassword>
<RedisSyncTimeout>2000</RedisSyncTimeout>
<RedisEpTimeout>100</RedisEpTimeout>
<RedisPort>6379</RedisPort>
You can use <RedisHost>localhost</RedisHost> if Redis is installed on the same server or full path to Redis server, if not.
Also, you need to make sure that port 6379 it is NOT available from outside (closed in a firewall).