HTTP 403 forbidden error when Use Keycloak to protect a Tomcat App
问题 I struggled with this error for a whole day. I check my configuration of Keycloak and APP in tomcat again and again and not found a bug. The picture below shows the testing Scenario: The configuration of APP : 1.Keycloak.json was copied from Keycloak console 2.context.xml also right due to it work fine under "localhost" scenario 3.web.xml : <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns