<div dir="ltr">Thank you for your answer. Indeed the problem is that our serveur throws a 401 instead of a 403 when no credentials are provided.<div>Thank you for your link which will greatly help me.</div><div><div>I thought that 403(forbdiden) was for a known user that hasn't the right to access a resource while 401 was for wrong/missing credentials.</div><div>Best regards,</div><div>Claude<br><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 23 juin 2021 à 15:01, Cantor, Scott <<a href="mailto:cantor.2@osu.edu">cantor.2@osu.edu</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 6/23/21, 3:37 AM, "users on behalf of Claude Libois" <<a href="mailto:users-bounces@shibboleth.net" target="_blank">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:clibois.work@gmail.com" target="_blank">clibois.work@gmail.com</a>> wrote:<br>
<br>
> Is there something else to do to have basic authentication working with http connector ?<br>
<br>
No. I use the setBasicCredentialsWithScope variant, which takes more wiring work to set up, but it's conceptually the same internally, just means it uses the credentials with any host and port. Same objects are wired up in the end.<br>
<br>
Note that like most clients, it doesn't volunteer the credentials, it expects to get a 403 back to challenge it. It takes more wiring again to get the client to skip that, which I do for efficiency, I don't like extra round trips.<br>
<br>
My How To includes the wiring I use. [1]<br>
<br>
-- Scott<br>
<br>
[1] <a href="https://wiki.shibboleth.net/confluence/display/KB/Grouper+Integration+Example" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/display/KB/Grouper+Integration+Example</a><br>
<br>
-- <br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div>