<div dir="ltr">Hello, I am new to keycloak and is having an issue to the the customer-portal tutorial running fully. After following all the instructions in the tutorial and running the customer-portal application, I received the following result:<div>&quot;</div><div><p style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium">Goto: <a href="http://localhost:8080/product-portal">products</a> | <a href="http://localhost:8080/auth/realms/demo/protocol/openid-connect/logout?redirect_uri=%2Fcustomer-portal">logout</a> | <a href="http://localhost:8080/auth/realms/demo/account?referrer=customer-portal">manage acct</a></p><p style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium"><b>Caller IDToken values</b> (<i>You can specify what is returned in IDToken in the customer-portal claims page in the admin console</i>:</p><p style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium">Username: lingvisa</p><p style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium">Email: <a href="mailto:lingvisa@gmail.com">lingvisa@gmail.com</a></p><p style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium">Full Name: martin</p><p style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium">First: martin</p><h2 style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;">Customer Listing</h2><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;background-color:rgb(227,246,206)">There was a failure processing request. You either didn&#39;t configure Keycloak properly, or maybe you just forgot to secure the database service? Status from database service invocation was: 401</span><br></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;background-color:rgb(227,246,206)">&quot;</span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;background-color:rgb(227,246,206)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium;background-color:rgb(227,246,206)">My Json file in database-service application:</span></div><div><span style="background-color:rgb(227,246,206)"><font color="#000000" face="Times New Roman" size="3"><div style="">{</div><div style="">  &quot;realm&quot;: &quot;demo&quot;,</div><div style="">  &quot;realm-public-key&quot;: &quot;MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg3cFXIGDZzubQg+31kGsG6yYK+nsrkx4FB4BHnn9mCFjcan0LACZDt3rOqFuA2Z9J1sJsLACbrEZMgLoYl0XtnZyobs99lKrKJkSnwDi10ptQ24M1eYrqBs84VOv4t8xLLg34Em7033mPOXtEFVU0s1kcawZCD30vMwbYXyyOrK5peoLBoGeY9dUZLRPEJ/hrGZxkrWjNobd4Gkf5FTMdKAqTJtf/YqYsvBP5VrJT+yIuLBw8sq+cZKqBdAvb6nuOs6UEZpioEos9KWaTryxn0MYY1r75g9Udd0FSW+e+5Pm7+J+wDQVEkJ+tEXoiv9JADHc9BgHM6eqwzavpryPWwIDAQAB&quot;,</div><div style="">  &quot;bearer-only&quot;: true,</div><div style="">  &quot;ssl-required&quot;: &quot;external&quot;,</div><div style="">  &quot;resource&quot;: &quot;database-service&quot;</div><div style="">}</div><div style=""><br></div><div style="">What might cause the 401 error message? Thank you.</div><div style=""><br></div><div style="">I am using the latest download &quot;/keycloak-demo-1.7.0.Final&quot; and admin console is a bit different from this in the tutorial. But there is no significant difference. In the keycloak console, I created the &quot;database&quot; client with only two fields filled:</div><div style=""><br></div><div style="">client protocol: openid-connect</div><div style="">access type: barer-only</div><div style=""><br></div><div style="">Without any URLs used, as in customer-portal and product-portal. </div><div style=""><br></div><div style="">Thank you.</div><div style=""><br></div><div style=""><br></div></font></span></div></div>