[mitreid-connect] Cannot approve uninitialized authorization request

Justin Richer jricher at mit.edu
Fri Sep 18 13:14:08 EDT 2015


What you’re seeing is cross site scripting protection. The error below happens when the approval page is reached before the authorization page.

How are you making the call to the authorization endpoint? You should be opening the system browser.

 — Justin

> On Sep 18, 2015, at 1:05 PM, Luiz Omori <luiz.omori at duke.edu> wrote:
> 
> Hi,
> 
> We are having this error when an Android application tries to perform the OAuth2 Authorization Code flow. Any idea of what could be wrong? The exception seems to be thrown by Spring (http://docs.spring.io/spring-security/oauth/xref/org/springframework/security/oauth2/provider/endpoint/AuthorizationEndpoint.html <http://docs.spring.io/spring-security/oauth/xref/org/springframework/security/oauth2/provider/endpoint/AuthorizationEndpoint.html>) but not sure in which layer the problem that triggers it is in.  The same application works on iOS but the client libraries could be very distinct.
> 
> 2015Sep18 12:53:05,541: INFO : org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint - Handling OAuth2 error: error="invalid_request", error_description="Cannot approve uninitialized authorization request."
> 
> Regards,
> Luiz
> _______________________________________________
> 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/20150918/4132aff1/attachment.html


More information about the mitreid-connect mailing list