I'm not sure what it is that you are asking.
I think that you are saying that you used an iframe to embed osTicket into a third party site.
When you try to log in, it fails.
But if you go directly to the osTicket site you can log in just fine.
Is that correct?