Not able to get access token as AuthenticationResponse returns null

Hi,
I have created an application with latest versions of Java and Spring as well as okta-sdks. The application is a Web and I am unable to get aToken Response using IDXAuthenticationWrapper as interaction grant type is not available. Is the IDX library also workable for Other grant types or any ther Wrapper class for the same.

Thankyou

Are you using a classic or an OIE org?

I have been using OIE

Can i get a way to get access token using username and password programatically using latest versions of Okta sdk java i.e 13.0.01 and all the LTS versions of Spring. IDXAuthenticationWrapper uses Intercation code grant type which is no where to be seen on okta dashboard.