[keycloak-user] Unconfigured Demo on Git Master

Rodrigo Sasaki rodrigopsasaki at gmail.com
Mon May 26 08:48:02 EDT 2014


Hi,

I tried configuring and running the *unconfigured-demo* that is inside the
appliance distribution, in the examples directory.

I have done this before in previous versions of keycloak, but I wanted to
get it working on the latest version on the master branch.

I configured it all like the examples in Bill Burke's YouTube tutorial,
with one difference. Now Keycloak demands a redirect-url, which it didn't
before, so I made it the same as the Admin URL, maybe that's where the
problem is, but when I try to access a keycloak secured page, I get this:

HTTP Status 404 - Could not find resource for relative :
/rest/realms/demo/tokens/login of full path:
http://localhost:8080/auth/rest/realms/demo/tokens/login?client_id=product-portal&client_id=product-portal&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fproduct-portal%2Fproducts%2Fview.jsp&state=0%2F00829ba2-b75d-429d-b8ee-07e31a76118a&login=true
------------------------------

*type* Status report

*message* *Could not find resource for relative :
/rest/realms/demo/tokens/login of full path:
http://localhost:8080/auth/rest/realms/demo/tokens/login?client_id=product-portal&client_id=product-portal&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fproduct-portal%2Fproducts%2Fview.jsp&state=0%2F00829ba2-b75d-429d-b8ee-07e31a76118a&login=true
<http://localhost:8080/auth/rest/realms/demo/tokens/login?client_id=product-portal&client_id=product-portal&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fproduct-portal%2Fproducts%2Fview.jsp&state=0%2F00829ba2-b75d-429d-b8ee-07e31a76118a&login=true>*

*description* *The requested resource (Could not find resource for relative
: /rest/realms/demo/tokens/login of full path:
http://localhost:8080/auth/rest/realms/demo/tokens/login?client_id=product-portal&client_id=product-portal&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fproduct-portal%2Fproducts%2Fview.jsp&state=0%2F00829ba2-b75d-429d-b8ee-07e31a76118a&login=true
<http://localhost:8080/auth/rest/realms/demo/tokens/login?client_id=product-portal&client_id=product-portal&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fproduct-portal%2Fproducts%2Fview.jsp&state=0%2F00829ba2-b75d-429d-b8ee-07e31a76118a&login=true>)
is not available.*


Is the problem in the redirect-url? Or could it be something else?
-- 
Rodrigo Sasaki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140526/1d458095/attachment.html 


More information about the keycloak-user mailing list