<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'><span>Thanks Chad - the [ ] brackets fixed it<br><br><span name="x"></span><div style="text-align: left;"><font size="2"><span style="font-family: verdana,helvetica,sans-serif;"></span></font>Regards<br></div><br>Simon Bright<br>Technical Services Manager<br>E2BN<br>01462 834588<br>07912 853 107<br><a href="http://www.e2bn.org">www.e2bn.org</a><br><br><br><span name="x"></span><br></span><br><hr id="zwchr">Documentations says:<br><br>If this is supplied, then it must be an *array* of entityIDs of IdPs<br>which are considered preferred by this SP<br><br>So it's probably just an issue with your formatting. &nbsp;I think you want<br>[" "https://idp3.e2bn.org/idp/shibboleth']<br><br>On Thu, Aug 9, 2012 at 11:46 AM, Simon Bright &lt;simon.bright@e2bn.org&gt; wrote:<br>&gt; Hi all<br>&gt;<br>&gt; I'm coming up to speed on deploying the Embedded Discovery Service. I have a<br>&gt; test environment so can play as much as required. I have configured my SP to<br>&gt; default to shibboleth-ds/index.html and have configured<br>&gt; /etc/shibboleth-ds/idpselect_config.js.<br>&gt;<br>&gt; I started out by not having a preferred IDP ie the parameter<br>&gt; this.preferredIdP is null<br>&gt;<br>&gt; My test federation metadata loads fine and my idp and mdui info appears in<br>&gt; my DiscoFeed. I can select it from the drop down box on the index.html page.<br>&gt; The mdui Display Name appears ok and if I return back to the page via my<br>&gt; protected link the idp's logo appears.<br>&gt;<br>&gt; I then turn on preferred idp by the following code<br>&gt;<br>&gt; &nbsp;this.preferredIdP = 'https://idp3.e2bn.org/idp/shibboleth';<br>&gt;<br>&gt; However when I visit the protected link, I just get "Use a suggested<br>&gt; selection:" appearing with no IDP info underneath. The drop down option<br>&gt; still works ok.<br>&gt;<br>&gt; Is there something wrong with the syntax of the this.preferredIdP ?<br>&gt;<br>&gt; DiscoFeed data below<br>&gt;<br>&gt; [<br>&gt; {<br>&gt; &nbsp;"entityID": "https://idp3.e2bn.org/idp/shibboleth",<br>&gt; &nbsp;"DisplayNames": [<br>&gt; &nbsp; {<br>&gt; &nbsp; "value": " IDP3 TEST IDP",<br>&gt; &nbsp; "lang": "en"<br>&gt; &nbsp; }<br>&gt; &nbsp;],<br>&gt; &nbsp;"Descriptions": [<br>&gt; &nbsp; {<br>&gt; &nbsp; "value": " The test IDP for E2BN",<br>&gt; &nbsp; "lang": "en"<br>&gt; &nbsp; }<br>&gt; &nbsp;],<br>&gt; &nbsp;"Logos": [<br>&gt; &nbsp; {<br>&gt; &nbsp; "value": "https://passport2.e2bn.org/images/E2BN_NEN_Small.gif",<br>&gt; &nbsp; "height": "50",<br>&gt; &nbsp; "width": "100"<br>&gt; &nbsp; }<br>&gt; &nbsp;]<br>&gt; }<br>&gt; ]<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Regards<br>&gt;<br>&gt; Simon Bright<br>&gt; Technical Services Manager<br>&gt; E2BN<br>&gt; 01462 834588<br>&gt; 07912 853 107<br>&gt; www.e2bn.org<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; To unsubscribe from this list send an email to<br>&gt; users-unsubscribe@shibboleth.net<br><br><br><br>-- <br>Chad La Joie<br>www.itumi.biz<br>trusted identities, delivered<br>--<br>To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br></div></body></html>