the best thing to do is to just tell the first company that you're interviewing at other companies, and to give them a timeline on when you expect to have an offer from the second company
That's still not the safest way. It has some level of risk. Tho I did mention that as well