Weird request at Delhi Airport?

Just wrapped up my trip to India and Delhi was just a stopover for back home but got a super strange request. They said it was for authorization purposes but needed a selfie with just me and that worker when I was at the gate. Was not explained what it was for but found it very weird.. like not just a picture of me but with the worker alongside. Is there some sort of system I’m not familiar with? Has never happened anywhere else lol