title: Passing custom parameters to Identity Server 3
body: <p>I am using Identity Server 3 + OpenID Connect + OAuth 2.0 to implement Single Sign On in one of my projects. I have set up everything according to samples provided and everything works just fine. I am using Implicit flow to authenticate user in multiple MVC websites. </p>
  
  <p>Now I have a use case when I need to pass custom parameters from client application to identity server. One of the simplest examples would be custom message that needs to be shown in one of Identity Server views. I would like to render this message in different pages - login, logout, logged out, etc.</p>
  
  <p>I found that OpenIdConnectAuthentication middleware from Microsoft allows to set custom parameters in ProtocolMessage in RedirectToIdentityProvider notification.</p>
  
  <p>For example, </p>
  
  <pre><code> RedirectToIdentityProvider = async ctx =&gt;
                  {
                              ctx.ProtocolMessage.Parameters.Add("info_message", "Account activation succeeded. Please log in using new account.");
                          }
                      }
  </code></pre>
  
  <p>Unfortunately, I was not able to find where those parameters can be read in Identity Server. Is this even possible? </p>
  
  <p>If this is not supported or just plain wrong, could you please advise what would be the best way to handle this use case?</p>