<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    We don't, but you could write an authenticator to do it via the auth
    SPI.<br>
    <br>
    <div class="moz-cite-prefix">On 1/18/2016 3:19 AM, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJgngAfDmY_0g+K4k3c7Hmh-N2FodkKHJVzDB5aM1FdvW32ynw@mail.gmail.com"
      type="cite">
      <div dir="ltr">That error message doesn't come from needing a otp
        it comes from there being outstanding required actions.
        <div><br>
        </div>
        <div>However, I'm pretty sure we don't support direct grant with
          users that have otp enabled. We should though so you can
          create a feature request</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 18 January 2016 at 05:36, Rajees
          Patel <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:Rajees.Patel@invenco.com" target="_blank">Rajees.Patel@invenco.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div link="blue" vlink="purple" lang="EN-NZ">
              <div>
                <p class="MsoNormal">Hi, </p>
                <p class="MsoNormal">How can I get direct access grants
                  for a user set up with totp? </p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">I tried posting the totp code, but
                  received this error. </p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal"><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">{</span></p>
                <p class="MsoNormal"><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">"</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:#ce7b00">error_description</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">":</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black"> "</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:#4488aa">Account is not fully set up</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">"</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black"></span></p>
                <p class="MsoNormal"><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">"</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:#ce7b00">error</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">":</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black"> "</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:#4488aa">invalid_grant</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">"</span><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black"></span></p>
                <p class="MsoNormal"><span
                    style="font-size:10.0pt;font-family:&quot;Courier
                    New&quot;;color:black">}</span></p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">Thanks</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal"> </p>
                <table style="width:100.0%" border="0" cellpadding="0"
                  cellspacing="0" width="100%">
                  <tbody>
                    <tr>
                      <td style="padding:0cm 0cm 0cm 0cm" valign="top">
                        <div>
                          <p class="MsoNormal"
                            style="line-height:13.0pt"><span
style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#212121">Rajees
                              Patel</span></p>
                        </div>
                        <div>
                          <p class="MsoNormal"
                            style="line-height:13.0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#212121">Product
                              Architect</span></p>
                        </div>
                        <div>
                          <p class="MsoNormal"
                            style="line-height:13.0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#616162">Invenco
                              Group Limited</span></p>
                        </div>
                        <div>
                          <p class="MsoNormal"
                            style="line-height:13.0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#616162;text-transform:uppercase">O:
                              <a moz-do-not-send="true"
                                href="tel:%2B64%209%20905%205673"
                                value="+6499055673" target="_blank">+64
                                9 905 5673</a></span></p>
                        </div>
                        <div>
                          <p class="MsoNormal"
                            style="line-height:13.0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#616162"><a
                                moz-do-not-send="true"
                                href="mailto:Rajees.Patel@invenco.com"
                                target="_blank"><span style="color:blue"><a class="moz-txt-link-abbreviated" href="mailto:Rajees.Patel@invenco.com">Rajees.Patel@invenco.com</a></span></a></span></p>
                        </div>
                        <div>
                          <p class="MsoNormal" style="line-height:2.0pt"><span
style="font-size:2.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#212121"> </span></p>
                        </div>
                        <div>
                          <p class="MsoNormal"
                            style="line-height:13.0pt"><b><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#212121"><a
                                  moz-do-not-send="true"
                                  href="http://www.invenco.com"
                                  target="_blank"><span
                                    style="color:blue"><a class="moz-txt-link-abbreviated" href="http://www.invenco.com">www.invenco.com</a></span></a></span></b></p>
                        </div>
                      </td>
                    </tr>
                    <tr style="height:5.0pt">
                      <td style="padding:0cm 0cm 0cm 0cm;height:5.0pt"><br>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <p class="MsoNormal"><span
                    style="font-size:12.0pt;font-family:&quot;Times New
                    Roman&quot;,&quot;serif&quot;"> </span></p>
                <table style="width:100.0%;border:none;border-top:solid
                  #9e9e9e 1.0pt" border="1" cellpadding="0"
                  cellspacing="0" width="100%">
                  <tbody>
                    <tr style="height:3.0pt">
                      <td style="border:none;padding:0cm 0cm 0cm
                        0cm;height:3.0pt"><br>
                      </td>
                    </tr>
                    <tr style="height:3.0pt">
                      <td style="border:none;padding:0cm 0cm 0cm
                        0cm;height:3.0pt">
                        <table style="width:100.0%" border="0"
                          cellpadding="0" cellspacing="0" width="100%">
                          <tbody>
                            <tr>
                              <td style="width:225.0pt;padding:0cm 0cm
                                0cm 0cm" valign="top" width="300">
                                <div>
                                  <p class="MsoNormal"
                                    style="line-height:9.0pt"><b><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#9e9e9e">Disclaimer:
                                        This email is confidential and
                                        may be legally privileged.  If
                                        you are not the intended
                                        recipient you must not use any
                                        of the information in it and
                                        must delete the email
                                        immediately.</span></b></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"
                                    style="margin-bottom:12.0pt;line-height:9.0pt"><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#9e9e9e"><br>
                                      <br>
                                    </span></p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <p class="MsoNormal"> </p>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            keycloak-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <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>
    <pre class="moz-signature" cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a></pre>
  </body>
</html>