@Nikitha-MSFT 

I am not sure what you mean by "Teams does not allow the preauth.json, as teams has a condition..."  The preauth.json file is automatically generated when Teams app launches.  Basically I have to delete this file when Teams will not load properly in order to get to the Okta OAuth.  I was wondering why this is a common issue and if there was a setting in the preauth.json file that could eliminate these issues.

www.000webhost.com