
506cj (506cj) asked a question.
Hello OKTA, I am a network engineer.
We purchased OKTA's SSO service, but our network environment often prevents us from accessing `login.okta.com`.
The IP address of this domain name is from the United States. Can it be deployed privately to make access more convenient? Or is there any other way?

Hi Hector,
For this you can whitelist your IP and it will allow you to access the the OKTA login page without any errors.
Login to Admin Dashboard > Security> Networks> Add Zone> IP Zone and in that you can whitelist the IP address.
Sorry, you may have misunderstood my description.
I want to build an Nginx reverse proxy server myself, and then users can login to OKTA by accessing this Nginx.
like this
Users/Clients -> my-nginx-reverse-proxy.com -> OKTA Login Page.
@506cj (506cj) Are you in China? the dns of Okta domain is contaminated in some province. Our customer let there end user change to Aliyun DNS. it can solve the dns issue.
for Nginx reverse, you need add custom domain. deploy nginx with your custom domain and certificate and reverser to okta custom domain. then also upload this certificate in Okta.
it is working for our customer. They want add fingerprint in Okta login page. Hope can help you.
Thank you very much for your reply!
I'm using Nginx as a reverse proxy on my server and can successfully access google.com and use the search function, which proves that the reverse proxy works.
But when I pointed the domain name address of the reverse proxy to the OKTA SSO address, OKTA prompted me "Error 400 Your request resulted in an error. The 'redirect_uri' parameter must be a Login redirect URI in the client app settings."
My Nigx conf like this:
```
location / {
proxy_pass https://auth.my-company.com/;
}
```
Do I need to set anything else in the OKTA management backend?
Hi Hector,
You should add custom domain in okta brand->domain. it will provide you a cname. then nginx forward to this cname. add your custom domain for nginx with certificate.