The PrivacyIDEA Warning


#1

Hi Again,

Based on this question Repetitive warning: The privacyIDEA system seems to be offline. The API is not reachable!, i also have a same warning but only when i click on policy name that i’m created … No warning shown on the other menu …

Then, i try to use web debugger and find this url when opening the policy … https://raw.githubusercontent.com/privacyidea/policy-templates/master/templates/index.json

Because my privacyidea on the intranet network and i dont have a internet connection, access to that Url will give me a warning “The privacyIDEA system seems to be offline. The API is not reachable!”. Where i can find this URL “https://raw.githubusercontent.com/privacyidea/policy-templates/master/templates/index.json” in your code ? so i can modify it …


#2

Hi DarKnights,

Thanks a lot for digging into this.

You do not have to change the code. Ah, this would be tedious in case of an update! :wink:

This URL is the URL to the policy templates, which are defined in additional github repo.
You can create a policy to change this URL to a local URL.
See https://privacyidea.readthedocs.io/en/latest/policies/webui.html?#policy-template-url


#3

Thanks again Cornelinux :grin::+1: