Why I am getting 401 for api/v1/authn endpoint?

On POSTman API call to /authn gives response but the same endpoint called from openshift gives 401 ? What can be the reason on openshift to okta REST API? network or any cors policy on okta configuration .