<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Corbel;
panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word;overflow-wrap: break-word;-webkit-nbsp-mode: space;line-break:after-white-space">
<div class="WordSection1">
<p class="MsoNormal">For what it’s worth, I had to explicitly add the client secret to the RP override to make it work. When I responded earlier, I hadn’t completed logging in so hadn’t gotten to that point yet. But things like the issuer and even the increased
clock skew (silly Microsoft) are getting picked up from oidc-rp.properties.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Keith<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Wessel, Keith
<br>
<b>Sent:</b> Friday, March 21, 2025 9:41 AM<br>
<b>To:</b> Shib Users <users@shibboleth.net><br>
<b>Subject:</b> RE: OIDC RP plugin not finding client ID<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hey, Philip,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Funny you should suggest that test. As I was heading to my office this morning, it occurred to me that I should try that exact test of directly adding the client ID as an RP override. Sure enough, that worked. Not sure why the value from
oidc-rp.properties file is being ignored. Clearly, it’s picking up the issuer and client secret from that file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For plugin versions, here’s everything OIDC and OUaht2 related. It’s a fresh Docker build, so everything should be the latest.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/opt/shibboleth-idp/bin/plugin.sh -L |grep oidc<o:p></o:p></p>
<p class="MsoNormal">Plugin net.shibboleth.idp.plugin.oidc.config: Installed version 2.2.0: No update available
<o:p></o:p></p>
<p class="MsoNormal">Plugin net.shibboleth.idp.plugin.oidc.op: Installed version 4.2.1: No update available
<o:p></o:p></p>
<p class="MsoNormal">Plugin net.shibboleth.idp.plugin.authn.oidc.rp: Installed version 2.1.2: No update available
<o:p></o:p></p>
<p class="MsoNormal">Plugin net.shibboleth.oidc.common: Installed version 3.2.0: No update available
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Keith<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> users <users-bounces@shibboleth.net>
<b>On Behalf Of </b>Philip Smart via users<br>
<b>Sent:</b> Friday, March 21, 2025 6:51 AM<br>
<b>To:</b> users@shibboleth.net<br>
<b>Cc:</b> Philip Smart <Philip.Smart@jisc.ac.uk><br>
<b>Subject:</b> Re: OIDC RP plugin not finding client ID<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 21 Mar 2025, at 10:59, Philip Smart <Philip.Smart@jisc.ac.uk> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Keith,<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="text-wrap-mode: wrap;font-variant-ligatures: normal;orphans: 2;widows: 2;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial">I'm obviously overlooking something very basic here.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I've got a fairly vanilla installation of the OIDC RP plugin that I want to use to proxy to a single OP.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I've set idp.authn.oidc.rp.provider.proxyIssuer, and the IdP is successfully fetching OP metadata according to the log.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I've set idp.authn.oidc.rp.client.clientId and idp.authn.oidc.rp.client.clientSecret and even explicitly set idp.authn.oidc.rp.provider.discoveryRequired=false to be sure. And, even though it shouldn't matter, I've removed spaces from the equal signs in any of these properties though I know the IdP will trim whitespace.<o:p></o:p></pre>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="text-wrap-mode: wrap;font-variant-ligatures: normal;orphans: 2;widows: 2;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial">But still, the log tells me this when I try to authenticate:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>ERROR [net.shibboleth.idp.plugin.authn.oidc.rp.impl.InitializeOAuth2ClientContext:156] - Profile Action InitializeOAuth2ClientContext: No client_id found from profile configuration<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Any thoughts where else to look? I'm feeling rather silly at the moment that I can't get this working.<o:p></o:p></pre>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This all looks sensible to me, would you be able to tell me the versions of the <i>net.shibboleth.oidc.common</i> and <i>net.shibboleth.idp.plugin.oidc.config</i> plugins you have installed?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">shibboleth-idp/bin/plugin.sh -l<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Phil<o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Also, could you try to add the client_id as a relying party override (should not need this, but just to help understand why it is not being wired up):<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><util:list id="shibboleth.RelyingPartyOverrides"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <bean id=“openidprovider" parent="RelyingPartyByName" c:relyingPartyIds=“<idp.authn.oidc.rp.provider.proxyIssuer>"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <property name="profileConfigurations"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <list><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <bean parent="OIDC.SSO" p:clientId="client_id"/><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </list><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </property><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </bean> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </util:list><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Phil<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="text-wrap-mode: wrap;font-variant-ligatures: normal;orphans: 2;widows: 2;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial">Thanks,<o:p></o:p></pre>
<pre>Keith<o:p></o:p></pre>
</blockquote>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:"Corbel",sans-serif"><o:p> </o:p></span></p>
<p style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:"Corbel",sans-serif">Jisc is a registered charity (in England and Wales under charity number 1149740; in Scotland under charity number SC053607) and a company limited by guarantee registered
in England under company number 05747339, VAT number GB 197 0632 86. Jisc's registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:"Corbel",sans-serif">Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 02881024, VAT number
GB 197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.<o:p></o:p></span></p>
<p><span style="font-size:7.5pt;font-family:"Corbel",sans-serif">For more details on how Jisc handles your data see our privacy notice here:
<a href="https://urldefense.com/v3/__https:/www.jisc.ac.uk/website/privacy-notice__;!!DZ3fjg!9Ix9p4zDHFNNdwRbNBWIcCMtPAca2PZswcukrgMbcSu9ny8Ule0Vd-4Tinu_yRv2ISZNFUwIifFngCZQW4p7$">
https://www.jisc.ac.uk/website/privacy-notice</a><o:p></o:p></span></p>
</div>
</body>
</html>