Category : oauth

I have some microservices that need to be protected with authentication. So that I used OAuth2 + Keycloak. You can see the detailed configurations from this post (Keycloak returns 'Invalid parameter: redirect_uri'). After successfully login in, the keycloak generates an access token that is routed to the OAUth2 service for validating. Somehow, the OAuth2 thinks ..

Read more

I’ve been facing this issue since I installed Bitdefender a few weeks ago. I have their VPN running, and docker is able to communicate docker hub with the VPN turned off or with split tunneling. However, I am having problems with logging into GitHub and other accounts that need web logins with OAuth in the ..

Read more

I have multiple subdomains for services and only one Google Oauth service, they are running in docker swarm mode. Once a user logged into a service successfully, they can also access the other serives. Now I want to restrict access for a group of users. For example, I have multiple groups groupa.domain.com, groupb.domain.com and groupc.domain.com, ..

Read more

I have a little project with 3 micro-services on of those service is the security one that implements Spring Security with OAuth2 everything behind a simple Spring Cloud Gateway public RouteLocator myRoutes ( RouteLocatorBuilder builder ) { return builder.routes() .route(p -> p.path("/auth/**") .filters(f -> f.rewritePath("^/auth", "")) .uri(authUri)) .route(p -> p .path("/payments/**") .filters(f -> f.rewritePath("^/payments", "")) ..

Read more

05:49:02,840 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed – address: ([("subsystem" => "microprofile-metrics-smallrye")]): java.lang.NullPointerException at [email protected]//org.wildfly.extension.microprofile.metrics.MicroProfileMetricsSubsystemAdd$2.execute(MicroProfileMetricsSubsystemAdd.java:86) at [email protected]//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999) at [email protected]//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743) at [email protected]//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467) at [email protected]//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1413) at [email protected]//org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:527) at [email protected]//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:515) at [email protected]//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:477) at [email protected]//org.jboss.as.server.ServerService.boot(ServerService.java:451) at [email protected]//org.jboss.as.server.ServerService.boot(ServerService.java:404) at [email protected]//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:416) at java.base/java.lang.Thread.run(Thread.java:834) Source: Docker..

Read more

I am trying to setup docker compose for local development, which consist from two services. OAuthServer and ClientApp. The issue is that communication on host machine must work. Both services are accessible on localhost:3000 (ClientApp) and localhost:4000 (OAuthServer). That is simple. But also ClientApp must be able to communicate with OAuthServer directly. And that’s where ..

Read more