Hey there @adeel welcome to the community!
New Universal Login does not support the use of iframes.
Assuming the the iframe and app itself are on different domains, you might want to look into cookies that are being blocked by the iframe. It’s good to know that your login flow is working outside of the context of an iframe - This definitely narrows it down a bit.