A young man struggling to come out as gay has found an unlikely source of support in the shape of the superstar.

A gay man – who wishes to remain anonymous – has allegedly been supported while coming out by his icon, Rihanna.

The man shared a direct message he shared with the star in which he told her about his struggles.

To his surprise, she replied, telling him: “It’s okay to be scared, but it’s more important to be who you are!”

After the man began to tell his friends he was gay, he shared their reaction with the singer and their conversation continued, with Rihanna sending a series of heartfelt replies.

Her latest message reads: “I’m so proud of you! I’m glad to see you finally happy with yourself!!

“Being who you are is the only way.”

The fan told BuzzFeed that he initially reached out to Rihanna about a month ago, and without her he would never have had the courage to terms with his sexuality.

He went on to say it’s been hard for him to come out as a gay black man, but Rihanna’s messages have helped him realise that he shouldn’t be ashamed of who he is.

The fan hopes to be fully out of the closet by July when he’ll be meeting Rihanna for the first time during her Anti world tour.

Last year, the star spoke out against Indiana’s controversial ‘religious freedom’ law that allowed businesses to refuse to serve gay people.

The ‘S&M’ singer was performing in Indianapolis as part of the NCAA March Madness Music Fest when she spoke out against the law.

Referring to the state’s new RFRA between songs, Rihanna said: “Who’s feeling these new bulls**t laws that they’re trying to pass over here?

“I say f**k that s**t… we’re just living our motherf***ing lives, Indiana!”

The singer also got the crowd to chant: “f**k that s**t”.