I interviewed for a company (say A) a few days ago from whom I received an offer letter today. I got another offer from another company (B) 2 days ago (after interviewing with company A). The offer from company B is much better than the offer from company A but now company A is asking me about the details of the offer from company B like the name of company B, terms of the offer like the CTC offered by company B, the tenure of internship and whether they are going to convert the internship to a job. I have given them these details over a telephonic conversation.
Is sharing details about another offer such as the pay and the tenure of internship legal or will it land me in some trouble?
They are asking me to share the offer letter as well to which I was a little uncomfortable and will politely deny sharing the offer letter.