JEE project: keep getting invalid redirect URI error

I’m working on a JEE project, implementing REST APIs with JAX-RS. I’m using Wildfly v21 as my application server, while my project is running on http://localhost:8081(changed to get a different port from Keycloak). I’ve configurated it with Keycloak using the JBoss EAP/WildFly adapter, and it seems well configurated.





  "realm": "auth-proto-realm",
  "auth-server-url": "http://localhost:8080/auth/",
  "ssl-required": "external",
  "resource": "auth-proto-client",
  "credentials": {
    "secret": "secret"
  "confidential-port": 0

The issue is whatever URI I put in Valid Redirect URIs I keep getting the error invalid redirect URIs or it keeps loading the page without success:

I’ve tried everything but nothing seems to work, are my configurations ok?
Thanks a lot