By: Mohamad Taheri user 03 Jul 2016 at 4:19 a.m. CDT

5 Responses
Mohamad Taheri gravatar
Hello i'm new in gluu server and i install gluu server on ubuntu server 16.04 64bit. i install gluu server order by intructions and i didn't any configurations. now i have an issue, when i want to authorize a client, gluu server redirect me to redirect_uri page with this query string:?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request. my url is this: https://accounts.tenders.loc/oxauth/authorize?client_id=@!32B9.9580.7F96.888F!0001!A1EF.453A!0008!303E.BF7C&response_type=code&redirect_uri=http%3A%2F%2Fdjango-oauth-toolkit.herokuapp.com%2Fconsumer%2Fexchange%2F&scope=openid+phone thank you. with respect.

By Mohib Zico staff 03 Jul 2016 at 8:13 a.m. CDT

Mohib Zico gravatar
>> when i want to authorize a client Is your client registered in Gluu Server? Please check oxauth.log for error; it has more indication on reasons.

By Mohamad Taheri user 03 Jul 2016 at 11:16 p.m. CDT

Mohamad Taheri gravatar
yes it is. here is part of my log file after authorization fail: 2016-07-04 04:11:39,985 ERROR [org.jboss.seam.jsf.SeamPhaseListener] swallowing exception javax.el.ELException: java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:339) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:221) at org.jboss.seam.navigation.Page.preRender(Page.java:311) at org.jboss.seam.navigation.Pages.preRender(Pages.java:351) at org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:560) at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:471) at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:147) at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:117) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

By Mohib Zico staff 04 Jul 2016 at 12:53 a.m. CDT

Mohib Zico gravatar
Something is missing in configuration. Please provide your client information and RP setup.

By Mohamad Taheri user 04 Jul 2016 at 1:37 a.m. CDT

Mohamad Taheri gravatar
Excuse me what is RP Setup exactly? how can i send this for you?

By Mohib Zico staff 04 Jul 2016 at 2:56 a.m. CDT

Mohib Zico gravatar
RP is resource provider, your site which you are connecting with gluu server for sso.