Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
389 views
in Technique[技术] by (71.8m points)

spring boot - springboot and okta though a proxy

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:

  1. user routes to localhost:8080/greetings (or any route. we need to cover everything)

  2. redirected to gateway on 9090

  3. gateway redirects to okta sign on page

  4. user signs in, redirects back to gateway on 9090

  5. relays tokens to user on localhost:8080.

B)

We need:

  1. user routes to localhost:8080/greetings (or any route. we need to cover everything)

  2. redirected to okta

  3. user signs in, redirects back to gateway on 9090

  4. 9090 relays tokens to user on localhost:8080.

Any suggestions?

question from:https://stackoverflow.com/questions/65837665/springboot-and-okta-though-a-proxy

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...