[keycloak-dev] 403 Forbidden when invoking application secured with keycloak

JAYAPRIYA ATHEESAN jayapriya.atheesan at gmail.com
Wed Mar 30 05:20:10 EDT 2016


Thanks a lot Marek.

 

The problem was with the role not scope defined.. I gave full scope for the
client and the issue got resolved

 

Thanks,

Jayapriya Atheesan

 

From: Marek Posolda [mailto:mposolda at redhat.com] 
Sent: Wednesday, March 30, 2016 12:42 PM
To: JAYAPRIYA ATHEESAN; keycloak-dev at lists.jboss.org
Subject: Re: [keycloak-dev] 403 Forbidden when invoking application secured
with keycloak

 

It looks that your user either doesn't have roles or your client doesn't
have scope. Take a look at examples for more inspiration. For logging, you
can enable DEBUG logging for category "org.keycloak" in
standalone/configuration/standalone.xml

Marek

On 30/03/16 08:13, JAYAPRIYA ATHEESAN wrote:

Hi,

 

Greetings of the day !!

 

I need an urgent help from your team.

 

I have an application deployed in wildfly server. The same has been secured
with keycloak server(this runs of a different wildfly box).

The wildfly server has been configured with keycloak adapter. 

 

When I invoke a page from the application deployed in wildfly server, the
application , redirects to keycloak login page. After I click submit
entering user name and password, I get 403 forbidden error.

 

Is there a way to enable logs for keycloak adapter. I'm not getting any logs
related to this error.

 

The issue is similar to the one addressed in
http://lists.jboss.org/pipermail/keycloak-user/2015-February/001601.html

http://lists.jboss.org/pipermail/keycloak-user/2014-November/001280.html

 

Please help me in resolving the same.

 

Below are the details of the server :

Wildfly 9.0.0CR2

Keycloak 1.6.0 Final

 

Thanks,

Jayapriya Atheesan

 

 






_______________________________________________
keycloak-dev mailing list
keycloak-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160330/b773f1e1/attachment.html 


More information about the keycloak-dev mailing list