title: How to fix 'Identity Provider not found' error when using OpenAM?
body: <p>I am trying to set up the OpenWIS software. In Fedora 28, I have deployed OpenAM 12.0.0 on tomcat 7.0.59 which is run as root. </p>
  
  <p>I have also deployed another webapp called openwis-user-portal on another instance of tomcat 7.0.59 which is run as a different user called openwisuser. In the OpenAM instance, I imported the openam and openwis-user-portal as hosted Identity Provider and hosted Service Provider respectively and put them in the same circle of trust using protocol SAMLv2. </p>
  
  <p>I deployed and configured another webapp called idpdiscovery on the first tomcat instance too. </p>
  
  <p>But when I try to login in the openwis user portal, it gives the following error in the log file: </p>
  
  <blockquote>
    <p>"Identity Provider not found."</p>
  </blockquote>
  
  <p>Have I missed something to do?</p>