Techiio-author
Started by Natasha JonesSep 22, 2021

Open
How do I launch React UI after oauth on Springboot backend in Kubernetes

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I have 2 containers (and more) running in a kubernetes pod.

  • Container 1: Spring boot backend exposing REST API (port 8080)- this is exposed to outside world via Service.
  • Container 2: React app (localhost:3000)

Flow:

  • Step 1: Oauth with Container 1
  • Step 2: Now the control should get redirected to React UI which is running in same pod.

How do I achieve Step 2 ? Where do I specify on SpringBoot that it needs to display page hosted by localhost:3000 - note that here baseURl will remain the same.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance