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.