title: OpenID Connect lightweight library
body: <p>I'm looking for OpenID Connect (OIDC) Relying Party <strong>lightweight library</strong> that will have these routines implemented. </p>
  
  <ol>
  <li>Compose "Authentication Request"</li>
  <li>Validate "id_token" signature
      (including downloading certificate from metadata endpoint)</li>
  <li>Parse "id_token" JWT</li>
  </ol>
  
  <p>The only OIDC flow to be supported is so called "<strong>implicit flow</strong>" where server answers with "id_token" (and "access_token" if requested) right from authorization endpoint (<a href="http://openid.net/specs/openid-connect-core-1_0.html#ImplicitFlowSteps" rel="noreferrer">spec link</a>).</p>
  
  <p>Searching over NuGet repository seems to yield the only suitable option - OWIN middleware, and even though I can confirm it works, it would be better to have lightweight alternative.</p>
  
  <p><a href="https://i.stack.imgur.com/gopKS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gopKS.png" alt="OIDC implicit flow"></a></p>