Reactive Java Microservices with Spring Boot and JHipster

Reactive Java Microservices with Spring Boot and JHipster

Learn how to create a reactive microservices architecture using Spring Boot and JHipster.

Full Stack Developer - Ines Go

Great work Matt. Thanks :slight_smile:

In your git repo is this ?
docker-compose -f src/main/docker/jhipster-registry.yml up -d
instead of ?
docker-compose -f src/main/docker/jhipster-registery up -d

First time using Okta.
I follow the readme of your repo and have the 3 services running, but can’t login.

400: Bad Request
BAD REQUEST
Your request resulted in an error.
Go to Homepage

Doesn’t even go to the Okta login page …
Any tips? In the ockta dashboard there are 3 authentications registered and 0 failed logins …

Full Stack Developer - Ines Go

https://uploads.disquscdn.c…

Full Stack Developer - Ines Go

https://uploads.disquscdn.c…

Matt Raible

Hello Ines,

My pleasure! You found a typo in my post and GitHub README, I’ll get that fixed right away.

Usually, when there’s a 400 error, it means you haven’t added the proper redirect URI. The one you have below will work for the gateway. However, if you want to login to the JHipster Registry (after configuring it for Okta), you’ll need to add another one that uses that port (8761). The full login redirect URI you need to add is “http://localhost:8761/login/oauth2/code/oidc”. You’ll also need to add “http://localhost:8761” as a logout redirect URI.

I believe the Okta CLI should add these redirects by default. That’s why I entered this issue.