We have a spring boot java application, and would like to use okta, but to have it communicate via a proxy instead of numerous machines for a sign-on okta application. If I could draw up the steps, it would happen in 1 of the following two ways:
You have a user machine on localhost:8080, and a gateway (maybe auth server?) running on localhost:9090.
A)
We need:
user routes to localhost:8080/greetings (or any route. we need to cover everything)
redirected to gateway on 9090
gateway redirects to okta sign on page
user signs in, redirects back to gateway on 9090
relays tokens to user on localhost:8080.
B)
We need:
user routes to localhost:8080/greetings (or any route. we need to cover everything)
redirected to okta
user signs in, redirects back to gateway on 9090
9090 relays tokens to user on localhost:8080.
Any suggestions?
question from:
https://stackoverflow.com/questions/65837665/springboot-and-okta-though-a-proxy 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…