<div dir="ltr">Hi,<div><br></div><div>I tried configuring and running the <b>unconfigured-demo</b> that is inside the appliance distribution, in the examples directory.</div><div><br></div><div>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.</div>
<div><br></div><div>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:</div>
<div><br></div><div><h1 style="font-family:Tahoma,Arial,sans-serif;color:white;font-size:22px;background-color:rgb(82,93,118)">HTTP Status 404 - Could not find resource for relative : /rest/realms/demo/tokens/login of full path: <a href="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</a></h1>
<hr size="1" noshade style="color:rgb(82,93,118);font-family:Tahoma,Arial,sans-serif;font-size:medium"><p style="font-family:Tahoma,Arial,sans-serif;color:rgb(0,0,0);font-size:12px;background-image:initial;background-repeat:initial">
<b style="color:white;background-color:rgb(82,93,118)">type</b> Status report</p><p style="font-family:Tahoma,Arial,sans-serif;color:rgb(0,0,0);font-size:12px;background-image:initial;background-repeat:initial"><b style="color:white;background-color:rgb(82,93,118)">message</b> <u>Could not find resource for relative : /rest/realms/demo/tokens/login of full path: <a href="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</a></u></p>
<p style="font-family:Tahoma,Arial,sans-serif;color:rgb(0,0,0);font-size:12px;background-image:initial;background-repeat:initial"><b style="color:white;background-color:rgb(82,93,118)">description</b> <u>The requested resource (Could not find resource for relative : /rest/realms/demo/tokens/login of full path: <a href="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</a>) is not available.</u></p>
</div><div><div><br></div><div><br></div><div>Is the problem in the redirect-url? Or could it be something else?</div>-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</div></div>