<div dir="ltr">I use Chrome on Ubuntu and versionĀ 1.1-alpha-1<div><br></div><div>I&#39;m using the default keycloak theme, but the stateChecker never gets sent with the form params, so it&#39;s always null and I get the error code</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 5:34 AM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Not a known bug and it works fine here. I&#39;ll need more info:<br>
<br>
* Browser<br>
* KC version<br>
* Is this with unmodified theme? If not can you try with the default theme and see if the problem exists there as well<br>
<br>
Also, open <a href="http://serverUrl/auth/realms/{realm}/account" target="_blank">http://serverUrl/auth/realms/{realm}/account</a>. Then view source and check if it has a hidden input field with the name stateChecker. Then check if a cookie KEYCLOAK_STATE_CHECKER is set with the same value.<br>
<br>
BTW the state checker is to prevent CSRF attack.<br>
<div><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Rodrigo Sasaki&quot; &lt;<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; Sent: Wednesday, 8 October, 2014 10:08:41 PM<br>
&gt; Subject: [keycloak-user] Problem Updating Account<br>
&gt;<br>
&gt; Hi. I&#39;m having some trouble with the account page.<br>
&gt;<br>
&gt; I try updating my profile at <a href="http://serverUrl/auth/realms/{realm}/account" target="_blank">http://serverUrl/auth/realms/{realm}/account</a><br>
&gt;<br>
&gt; When I try editing my account info (firstName, email...) I have a problem<br>
&gt; when I hit save.<br>
&gt;<br>
&gt; the processAccountUpdate method inside AccountService.java invokes a<br>
&gt; csrfCheck method, that checks if a stateChecker variable is present on my<br>
&gt; post, but it&#39;s always null, so I can never update my account info.<br>
&gt;<br>
&gt; Is this a known bug?<br>
&gt;<br>
&gt; Thanks again<br>
&gt;<br>
&gt; --<br>
&gt; Rodrigo Sasaki<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</div>