Open somejavadev opened 8 months ago
Some additional details, the issue seems to occur when hitting a protected endpoint which requests a redirect:
When changing the protected endpoint to unprotected, the call works:
.requestMatchers(new MvcRequestMatcher(introspector, "/api/**")).authenticated()
To:
.requestMatchers(new MvcRequestMatcher(introspector, "/api/**")).permitAll()
@pascalgrimaud I reproduce
@somejavadev can you try to update jhipster-realm.json
with a new version (even if it is not the real version of Keycloak) "keycloakVersion": "24.0.0",
(it works with that for me)
Hi, perhaps someone might be able to assist.
When generating an angular front end with oauth enabled and using the HttpClient calls made to a back end via the proxy teturns: GET http://localhost:9000/oauth2/authorization/oidc 404 (Not Found)
proxy.conf.json
test.service.ts
history.json
package.json
As soon as the
getAll()
method gets invoked the 404 error occurs. Keycloak is used here and is running on port 9080.Is there perhaps someone who could assist or point me in a direction if the usage of the HttpClient is correct and what might cause this?