<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Override or edit authz-context.xml and add the following line:<div class=""><br class=""></div><div class=""><span class="blob-code-inner">&lt;<span class="pl-ent">oauth</span><span class="pl-ent">:</span><span class="pl-ent">password</span>/&gt;</span></div><div class=""><span class="blob-code-inner"><br class=""></span></div><div class=""><span class="blob-code-inner">next to all the other grants. And be very careful using this flow, you should only ever use it with highly trusted and legacy clients that can’t open a browser.</span></div><div class=""><span class="blob-code-inner"><br class=""></span></div><div class=""><span class="blob-code-inner">&nbsp;— Justin</span></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 16, 2015, at 1:29 PM, Luiz Omori &lt;<a href="mailto:luiz.omori@duke.edu" class="">luiz.omori@duke.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">Hi,</div>
<div class=""><br class="">
</div>
<div class="">I’ve seen a ticket requesting support for the Resource Owner (grant_type=password) flow and it’s said that it’s already supported but a special server configuration is necessary, possibly accomplished using Maven Overlays. Could you clarify exactly which
 server reconfiguration is required? Currently I’m building my own test server so don’t really care about Maven Overlays at this point, can hack something directly in the build if necessary.</div>
<div class=""><br class="">
</div>
<div class="">As you suspect, my client app is getting the error below, even tough the application support for grant type password is checked:</div>
<div class=""><br class="">
</div>
<div class="">{"error":"unsupported_grant_type","error_description":"Unsupported grant type: password”}</div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class="">Luiz</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/pull/567" class="">https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/pull/567</a></div>
<div class=""><br class="">
</div>
</div>

_______________________________________________<br class="">mitreid-connect mailing list<br class=""><a href="mailto:mitreid-connect@mit.edu" class="">mitreid-connect@mit.edu</a><br class="">http://mailman.mit.edu/mailman/listinfo/mitreid-connect<br class=""></div></blockquote></div><br class=""></div></body></html>