-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brave Rewards displaying wrong Reddit usernames #15687
Comments
I can confirm that I get the exact same problem independently of your instance. This happened before I found your GitHub issue here, and the description you have given fits my problem perfectly. In other words it replicates. Just out of interest, have you connected a Twitter account to your Reddit account as well? Because in my case it seems like Brave Rewards try to use my Twitter handle as my Reddit Handle. (But I can't verify the coincidence.) |
Ahh, that’s really interesting! I hadn’t thought of that. But yes, my Twitter account is connected to my Reddit account. @VictorieeMan, to narrow it down even more: have you “claimed” your Twitter account on Brave Rewards Creators? Because I guess if you haven’t we at least know it’s Reddit causing that particular issue, and not Brave Rewards! Out of interest, does the other part of my issue happen to you as well (where the Brave Rewards button shows the same username, no matter whose Reddit profile page you’re on)? (Note to devs: I’m going to leave my Twitter and Reddit accounts linked in case it helps you diagnose this. Just so you know I haven’t disconnected them to see if it fixes it!) |
Yes I have linked the twitter as well, things over at twitters does work fine though. I've only experienced problems with Brave Rewards over at Reddit. Interesting suggestion @meejle, I tried it out and got the same result as you mentioned (Clicking other profiles to tip them) and got the following results:
Notice the differences between the results in each case. The first does differ from the second two, although all of them generate the wrong result.
This seems to be the same thing you mentioned. Thanks for suggesting me to check the same. |
This error only seems to happen if I am logged into reddit when I am trying to tip. When I log out the correct reddit username appears in the tipping panel. |
@CloggyAbroad Interesting! Yep, once I logged out, it at least got the users right... although it still shows mine and @VictorieeMan's Twitter usernames. Running more scenarios (because I liked how @VictorieeMan did it 😃): Logged out, visiting https://www.reddit.com/user/TheVictorieeMan Logged out, visiting https://www.reddit.com/user/meejle Logged in, visiting https://www.reddit.com/user/TheVictorieeMan Logged in, visiting https://www.reddit.com/user/meejle |
cc @brave/rewards-client also, I logged #12302 which may or may not be related. |
Interesting @meejle, that your logged in visit get the "u/thinsoldier" when visiting me but when visiting logged out you get "u/VictorieeMan". Judging from that you get the same result as me when logged out but a local result when logged in. And as for your similar issue @LaurenWags, it seems related in the results but the #12302 issue does for some reason have a much longer list of steps to replicate the problem. It's also from October 2020, has there been new releases since then, and if does it replicate on the latest release? Maybe it's gone worse judging from our short list of replicating the problem - haha. |
The problem likely comes from this file which has a few methods to detect users, like It should not be too hard to test each of them, but I don't know how to compile these files 😞 |
So brave recognises me as Fallengreg on reddit (should be Jjauso) ...and i have never had any name remotely close to that ...hope the issue gets fixed |
Verified using
and dev component Verified both test plans from brave/brave-site-specific-scripts#59 (comment). Examples (Logged in):
Examples (Not logged in):
Additionally, I reproduced the issue (when logged in only, which is in line with the comment from #15687 (comment)) with prod component version
Encountered and logged #17167 while testing this issue. Verification PASSED on
Verified both cases outlined via brave/brave-site-specific-scripts#59 (comment) using
|
Great work with the pictures, it takes some time to produce and properly include screenshots in a comment. It's a false confirmation, however, since the username of my account is u/TheVictorieeMan and not u/VictorieeMan, which is very confusing and brings doubt about whether the funds reach the correct user. This strange difference between the Reddit username and what the banner shows can be seen within the example screenshots provided. As far as I understand, the purpose of showing the name u/ in the banner is to confirm that it reaches the correct account. But that confirmation fails if the username on Reddit doesn't match the BAT-banner, even tough it should. My suggestion is to reopen this problem until it's actually solved, which it isn't. === === Great job with the involvement though, I find it useful to add some compliments for that. Because it's too easy to seem like such a downer when disproving something. |
@VictorieeMan has your Reddit username ever been |
@LaurenWags I have never changed my Reddit username from TheVictorieeMan. My theory is that the brave rewards confuses the Reddit name with the twitter handle associated with the Reddit account, which isn't good. The original thread opener [@meejle) hinted about this: "Strangely enough, there is a u/Mikeleewrites (with a capital "M") on Reddit, but he isn't me. I only have one Reddit account, and it's always been u/meejle. HOWEVER: My Twitter username is @mikeleewrites (with a small "m"). I've claimed that Twitter account on my Brave Rewards Creator profile, so I can only imagine that's where Brave browser is somehow "finding" the "mikeleewrites" (with a small "m") username?" And the same goes for my account. It looks like it takes the twitter username and presents is in the form of a Reddit username with "u/" instead of "@" making things even more confusing. |
Description
I signed up to Brave Rewards Creator and claimed my Reddit account (among other social media accounts and websites that I own). I also submitted custom banners for each site/social media profile.
When trying to test this on Reddit (e.g., to see if the verified "tick" would appear on my profile page, whether my custom tip message would appear, etc.), I noticed various issues with usernames.
Clicking "Send a Tip..." also shows u/thinsoldier as the recipient of the tip:
But wait, it gets even weirder! Clicking the inline "Tip" buttons on Reddit seems to confuse things even more. Trying to tip on one of u/Brave_Support's comments, shows "thinsoldier on Reddit", but then correctly displays the username underneath as "u/Brave_Support". Also notice how it then shows a snippet of "thinsoldier's post" underneath:
And weirder still: if I go to my own Reddit user page (I'm u/meejle -- remember that, it'll be important in a second) and click one of the inline "Tip" buttons... I get... brace yourself... "thinsoldier on Reddit"... and then underneath, "u/mikeleewrites"!
Strangely enough, there is a u/Mikeleewrites (with a capital "M") on Reddit, but he isn't me. I only have one Reddit account, and it's always been u/meejle. HOWEVER: My Twitter username is @mikeleewrites (with a small "m"). I've claimed that Twitter account on my Brave Rewards Creator profile, so I can only imagine that's where Brave browser is somehow "finding" the "mikeleewrites" (with a small "m") username?
Yeah, sorry if you have to read this three or four times to make sense of it. I did my best.
I've tried clearing my history and cache, quitting and re-launching Brave, and rebooting (because why the heck not), but nothing has made a difference.
Strangely enough, using the old Reddit (e.g., https://old.reddit.com/user/meejle, https://old.reddit.com/user/Brave_Support) does seem to help the browser get over its obsession with u/thinsoldier (here it is correctly identifying u/Brave_Support):
But it doesn't fix the other problem I'm having -- here it is correctly identifying the fact I'm a Brave Verified Creator, but wrongly referring to me as "mikeleewrites on Reddit" again:
Steps to Reproduce
Actual result:
Brave Rewards shows incorrect/unrelated Reddit usernames, and/or usernames seemingly pulled from elsewhere.
Expected result:
Brave Rewards always shows the correct Reddit usernames.
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
N/A
The text was updated successfully, but these errors were encountered: