<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">We don't have support for it at this
      moment. Could you please create JIRA for it?<br>
      <br>
      Thanks,<br>
      Marek<br>
      <br>
      On 5.5.2015 16:12, Iván Perdomo wrote:<br>
    </div>
    <blockquote cite="mid:5548CFCE.1070302@akvo.org" type="cite">
      <pre wrap="">Hi again,

On 05/05/2015 03:19 PM, Iván Perdomo wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">If present in the ID Token, Clients MUST
</pre>
        <blockquote type="cite">
          <pre wrap="">verify that the nonce Claim Value is equal to the value of the nonce
parameter sent in the Authentication Request.
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
More info is also described in the ID Token validation section

</pre>
      <blockquote type="cite">
        <pre wrap="">If a nonce value was sent in the Authentication Request, a nonce
Claim MUST be present and its value checked to verify that it is the
same value as the one that was sent in the Authentication Request.
The Client SHOULD check the nonce value for replay attacks. The
precise method for detecting replay attacks is Client specific.
</pre>
      </blockquote>
      <pre wrap="">
<a class="moz-txt-link-freetext" href="http://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation">http://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation</a>

As i understand if, if a `nonce` parameter is present in the
authentication request, we should simply return it as "claim" in the ID
Token.

I'm browsing the source code and I see that IDToken [1] class is
prepared with the `nonce` property. But I'm kind of lost on where does
the authentication request gets parsed. I would like to contribute this
change, any guide where to look?

[1]
<a class="moz-txt-link-freetext" href="https://github.com/keycloak/keycloak/blob/1.2.0.CR1/core/src/main/java/org/keycloak/representations/IDToken.java#L40-L41">https://github.com/keycloak/keycloak/blob/1.2.0.CR1/core/src/main/java/org/keycloak/representations/IDToken.java#L40-L41</a>

Cheers,

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>