I got a bit lost in your response, is the /authorize request is returning a 400, or the /token request? Do you see any errors logged in System Log (in the admin console) for your application when you encounter the 400?
The /authorize endpoint still supports being passed a sessionToken being returned by the /authn endpoint, but that option should really only be used in an Okta Classic org and is not recommended for Okta Identity Engine orgs as the /authn endpoint cannot evaluate Authentication Policies assigned to the application, it can only evaluate against the Global Session Policy of the Okta org itself.
My bad, didn’t configure correctly env for postman.
Now I have another problem. Old code uses Feign client. Okta responded with error. Response header contained header “location” I was fetching authoorization code from there. Now Okta responds 200. Still don’t understand how to programmatically get access token using login and password.