[mitreid-connect] Support for Resource Owner Password Credentials

Justin Richer jricher at mit.edu
Wed Jun 17 13:34:34 EDT 2015


Override or edit authz-context.xml and add the following line:

<oauth:password/>

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.

 — Justin

> On Jun 16, 2015, at 1:29 PM, Luiz Omori <luiz.omori at duke.edu> wrote:
> 
> Hi,
> 
> 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.
> 
> As you suspect, my client app is getting the error below, even tough the application support for grant type password is checked:
> 
> {"error":"unsupported_grant_type","error_description":"Unsupported grant type: password”}
> 
> Regards,
> Luiz
> 
> https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/pull/567 <https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/pull/567>
> 
> _______________________________________________
> mitreid-connect mailing list
> mitreid-connect at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mitreid-connect

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20150617/c1ae0ca8/attachment.htm


More information about the mitreid-connect mailing list