Secure Legacy Apps with Spring Cloud Gateway

Abhimanu Handoo

Hi @briandemers,

I am able to successfully run this application on my local however unable to run on my server where I am using the custom configuration of okta instead of default provided by my company.

I am able to get the login form of okta and after that getting "

2020-07-09 00:30:39.035 ERROR 5981 — [ctor-http-nio-1] a.w.r.e.AbstractErrorWebExceptionHandler : [2beae42a] 500 Server Error for HTTP GET “/login/oauth2/code/okta?code=x7E2mYsXEpJINsuLfLSw&state=QfvZ-kQq247e5J5iWNPpnY0KxGYi5hdBDAYkthCoIww%3D” io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: for port number okta domaninname:443

I did telnet domainname 443 and the result is same connection refused.

Wanted to know why application trying to access 443 port in this case and is there anyway to skip this call.

Thanks,
Abhimanu Handoo