Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Optimizely license validation via SQL Server instead of License.config

Vote:
 

Can someone please point me at some documentation or provide a code example for having our CMS site validate its license via sql server instead the License.config file? 

I see some documentation for ILicenseRepository, however I do not see how to get Optimizely to call into my custom repository for validation.  

#330227
Sep 19, 2024 15:49
Vote:
 

I don't think that it is possible. Why not put the license in a shared location?

For shared location in appsettings

{
  "EPiServer": {
    "CMS": {
      "LicensePath": {
        "Path": "\\\\uncpath\\Share\\License.config"
      },
...

Or in startup

services.Configure<LicensePathOptions>(options =>
{
    options.Path = "PATH";
});            
#330231
Sep 19, 2024 18:57
Vote:
 

Thanks Eric for confirming that.  Ended up storing the licenses in our own table, pulling from sql on startup and writing License.config to the proper directory in each container.

#330449
Sep 23, 2024 23:27
Vote:
 

You should be able to use cloud licenses for containers as well

#330451
Sep 24, 2024 10:13
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.