Multiple IDp

Marc Kalberer info at programmers.ch
Thu Apr 6 13:10:30 EDT 2017


Hello,

I have a single (web)application to should be able to authenticate to 2 
differents idp

I setup a

<RequestMapper type="Native">
         <RequestMap applicationId="default">
             <Host name="exemple.ch">
                 <Path name="swXX" authType="shibboleth" 
requireSession="true">
              </Path>
             </Host>
         </RequestMap>
         <RequestMap applicationId="https://id.XXXX.ch/idp/shibboleth">
             <Host name="exemple.ch">
                 <Path name="edXX" authType="shibboleth" 
requireSession="true"/>
             </Host>
         </RequestMap>
     </RequestMapper>

I added the corresponding
  <ApplicationOverride id="https://id.XXXX.ch/idp/shibboleth" >

But impossible to make the second work,

It always go to
          <ApplicationDefaults
             <SSO discoveryProtocol="SAMLDS"
discoveryURL="https://wayf.switch.ch/SWITCHaai/WAYF">
               SAML2
             </SSO>

Is my approach wrong ? I tried with the SessionInitiator => but no luck 
either ...

Any hints / helps / direction welcome ... this get me crazy !




More information about the users mailing list