<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"><<a href="mailto:Rajees.Patel@invenco.com" target="_blank">Rajees.Patel@invenco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-NZ" link="blue" vlink="purple"><div><p class="MsoNormal">Hi, <u></u><u></u></p><p class="MsoNormal">How can I get direct access grants for a user set up with totp? <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I tried posting the totp code, but received this error. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">{<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">"</span><span style="font-size:10.0pt;font-family:"Courier New";color:#ce7b00">error_description</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">":</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> "</span><span style="font-size:10.0pt;font-family:"Courier New";color:#4488aa">Account is not fully set up</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">"</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">"</span><span style="font-size:10.0pt;font-family:"Courier New";color:#ce7b00">error</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">":</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> "</span><span style="font-size:10.0pt;font-family:"Courier New";color:#4488aa">invalid_grant</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">"</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">}<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%"><tbody><tr><td valign="top" style="padding:0cm 0cm 0cm 0cm"><div><p class="MsoNormal" style="line-height:13.0pt"><span style="font-family:"Arial","sans-serif";color:#212121">Rajees Patel<u></u><u></u></span></p></div><div><p class="MsoNormal" style="line-height:13.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#212121">Product Architect<u></u><u></u></span></p></div><div><p class="MsoNormal" style="line-height:13.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#616162">Invenco Group Limited<u></u><u></u></span></p></div><div><p class="MsoNormal" style="line-height:13.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#616162;text-transform:uppercase">O: <a href="tel:%2B64%209%20905%205673" value="+6499055673" target="_blank">+64 9 905 5673</a><u></u><u></u></span></p></div><div><p class="MsoNormal" style="line-height:13.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#616162"><a href="mailto:Rajees.Patel@invenco.com" target="_blank"><span style="color:blue">Rajees.Patel@invenco.com</span></a><u></u><u></u></span></p></div><div><p class="MsoNormal" style="line-height:2.0pt"><span style="font-size:2.0pt;font-family:"Arial","sans-serif";color:#212121"><u></u> <u></u></span></p></div><div><p class="MsoNormal" style="line-height:13.0pt"><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#212121"><a href="http://www.invenco.com" target="_blank"><span style="color:blue">www.invenco.com</span></a><u></u><u></u></span></b></p></div></td></tr><tr style="height:5.0pt"><td style="padding:0cm 0cm 0cm 0cm;height:5.0pt"></td></tr></tbody></table><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u> <u></u></span></p><table border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border:none;border-top:solid #9e9e9e 1.0pt"><tbody><tr style="height:3.0pt"><td style="border:none;padding:0cm 0cm 0cm 0cm;height:3.0pt"></td></tr><tr style="height:3.0pt"><td style="border:none;padding:0cm 0cm 0cm 0cm;height:3.0pt"><table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%"><tbody><tr><td width="300" valign="top" style="width:225.0pt;padding:0cm 0cm 0cm 0cm"><div><p class="MsoNormal" style="line-height:9.0pt"><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";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.<u></u><u></u></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:"Arial","sans-serif";color:#9e9e9e"><br><br><u></u><u></u></span></p></div></td></tr></tbody></table></td></tr></tbody></table><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a 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>