-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
metamask-mobile not accepting cookies from github login flow on gitcoin #1273
Comments
related : #1244 |
Thanks for a Swift professional response. |
Referenced metamask Mobile |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 1.3 ETH (236.23 USD @ $181.72/ETH) attached to it.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Workers have applied to start work. These users each claimed they can complete the work by 1 month from now. 1) mul1sh has applied to start work (Funders only: approve worker | reject worker). This is caused by a long standing bug in react native (facebook/react-native#19958). So there are a couple of available fixes to it and I will be able to get it tested & fixed over the weekend without any delays. Learn more on the Gitcoin Issue Details page. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Workers have applied to start work. These users each claimed they can complete the work by 3 weeks, 4 days from now. 1) mul1sh has applied to start work (Funders only: approve worker | reject worker). This is caused by a long standing bug in react native (facebook/react-native#19958). So there are a couple of available fixes to it and I will be able to get it tested & fixed over the weekend without any delays. I've done some research on the problem and believe I'm fully capable of solving it the terms you're requiring. I'll get the project running on my local machine and will reproduce and fix the bug, testing it in both virtual and physical devices Android and iOS. Timewise since It'd be the only bounty I would be working on and I'm pretty sure I can get it done by next monday, but will keep you informed of any important development or setback I may have. Learn more on the Gitcoin Issue Details page. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 3 weeks, 3 days from now. 1) mul1sh has been approved to start work. This is caused by a long standing bug in react native (facebook/react-native#19958). So there are a couple of available fixes to it and I will be able to get it tested & fixed over the weekend without any delays. I've done some research on the problem and believe I'm fully capable of solving it the terms you're requiring. I'll get the project running on my local machine and will reproduce and fix the bug, testing it in both virtual and physical devices Android and iOS. Timewise since It'd be the only bounty I would be working on and I'm pretty sure I can get it done by next monday, but will keep you informed of any important development or setback I may have. Learn more on the Gitcoin Issue Details page. |
@mul1sh Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
I am currently working on this issue on my Github desktop
…On Thu, Feb 6, 2020, 11:16 AM Gitcoin.co Bot ***@***.***> wrote:
@mul1sh <https://github.com/mul1sh> Hello from Gitcoin Core - are you
still working on this issue? Please submit a WIP PR or comment back within
the next 3 days or you will be removed from this ticket and it will be
returned to an ‘Open’ status. Please let us know if you have questions!
- reminder (3 days)
- escalation to mods (6 days)
Funders only: Snooze warnings for 1 day
<https://gitcoin.co/issue/MetaMask/metamask-mobile/1273/3969?snooze=1> | 3
days
<https://gitcoin.co/issue/MetaMask/metamask-mobile/1273/3969?snooze=3> | 5
days
<https://gitcoin.co/issue/MetaMask/metamask-mobile/1273/3969?snooze=5> | 10
days
<https://gitcoin.co/issue/MetaMask/metamask-mobile/1273/3969?snooze=10> | 100
days
<https://gitcoin.co/issue/MetaMask/metamask-mobile/1273/3969?snooze=100>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1273?email_source=notifications&email_token=ANPUJQWFWBCD45SV57FWUJ3RBRAWDA5CNFSM4KF3SHDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELAA56Q#issuecomment-583012090>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANPUJQX4RGN65F52X2YCO3LRBRAWDANCNFSM4KF3SHDA>
.
|
@csplawn918794 so im I, want to collab on this or something. |
Please take a look at my investigations in #1280, metamask webview code is doing duplicate requests where one request does not contain all headers (eg. cookies). In my case (also oauth) this behavior is expiring one time token from url but is rejected because of lack of cookies. The second request containing cookies previously set by the server is rejected because one time token from url is already expired/used. |
@gkapkowski Great observation, thanks. Though still for gitcoin, the cookies are set server-side by django but for some reason the react-native webview is not storing them, or atleast the current version of react-native used by metamask is not setting them. Some earlier and later versions of react-native are working fine, which is weird. Anyway thanks for the heads up, appreciate it. |
@gkapkowski just confirm what path does your site store the cookies in? the root path? |
@mul1sh Yes, they are in root |
@gkapkowski ok thanks, funny thing is that I can get metamask mobile to now work with any site, so long as the cookies are set in any other path apart from the root, which is weird. Any ideas what might cause this? |
@mul1sh Weird, no, haven't encountered any code that would indicate this behavior. |
Hmm ok, i'm still getting this behavior with my local build after adding the |
Final update after testing on many different versions of react-native, i'll use the So wrapping this up in the next few days 🙂 |
great news!
…On Mon, Mar 9, 2020 at 10:03 AM Mulili Nzuki ***@***.***> wrote:
Final update after testing on many different versions of react-native,
i'll use the react-native-cookies lib tot sort. It seems to be the most
straightforward solution, even in RN versions that support cookies well
right out of the box.
So wrapping this up in the next few days 🙂
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1273?email_source=notifications&email_token=AAD5PCLZQ2S56JJTWEZ6RRTRGUHNTA5CNFSM4KF3SHDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOH3G4I#issuecomment-596620145>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5PCOK3YI5CPTBL47H573RGUHNTANCNFSM4KF3SHDA>
.
_________________________________________
gitcoin is live and has generated over $3.5mm for Open Source Software - see
our results <https://gitcoin.co/results>
|
Almost done with iOS just a bit.. |
yayy!!!
…On Wed, Mar 18, 2020 at 10:03 AM Mulili Nzuki ***@***.***> wrote:
Almost done with iOS just a bit..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5PCKIN2SMVY6D3DBEOJTRIDWF7ANCNFSM4KF3SHDA>
.
_________________________________________
gitcoin is live and has generated over $3.5mm for Open Source Software - see
our results <https://gitcoin.co/results>
|
iOS is done, testing my changes again and then this will be finished |
Looking forward to the new beta release. |
hi from gitcoin - we get emails about this every week. how goes with the android fix? |
@owocki Sorry for the delay, the android fix is coming long great. Kindly give me till Tuesday i'll have this working + an apk too. |
@mul1sh thanks! pls keep me posted |
@mul1sh Hello! I see that version 0.2.15 has been released today, but we still have a problem logging in. Other wallets have no such problem. |
@mul1sh why you don't put a WIP pr? that can be helpful. |
|
app = ::firebase::App::Create(::firebase::AppOptions(), jni_env, activity);
|
@mul1sh did this ever get done? i think i may cancel the bounty if not; as it doesnt seem to be going anywhere |
@owocki yes I kinda had it working on my end like 3 months ago but to be honest I got sidetracked alot with other task/issues so I did not fully wrap it up. Nonetheless I'll resume working on it from the start of this coming week and have it ready by the end of the week with a testable apk and also do a WIP PR as I work on it. |
thanks so much; this is bound to come up as grants round 7 goes live (next
week) so thats why i bumped it up.
pls let me know how it goes as you dust off that PR
…On Tue, Sep 8, 2020 at 3:19 PM Mulili Nzuki ***@***.***> wrote:
@owocki <https://github.com/owocki> yes I kinda had it working on my end
like 3 months ago but to be honest I got sidetracked alot with other
task/issues so I did not fully wrap it up.
Nonetheless I'll resume working on it from the start of this coming week
and have it ready by the end of the week with a testable apk and also do a
WIP PR as I work on it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5PCKUTCWZB2RMLSISVATSE2NXRANCNFSM4KF3SHDA>
.
_________________________________________
gitcoin is live and has generated over $5mm for Open Source Software - see
our results <https://gitcoin.co/results>
|
@owocki definitely will alert you and thanks for your patience 🙂 |
CODE_OF_CONDUCT.md`` |
@owocki an update, this issue was automatically fixed when the app was updated to use the official version of the I've been testing this thoroughly for the past 1 week and needless to say, my workaround which involved using the So i'm sure this issue can now be closed, unless of course another regression occurs. |
thats good news! keen to test it when that new version of metamask rolls
out.
…On Tue, Nov 24, 2020 at 10:57 AM Mulili Nzuki ***@***.***> wrote:
@owocki <https://github.com/owocki> an update, this issue was
automatically fixed when the app was updated to use the official version of
the react-native-webview dependency instead of the forked version. The
forked version that was being used before had a bug in the handling of SSL
and also setting the session cookies, but the bug was already fixed in the
official repo, sometime in July, I think.
I've been testing this thoroughly for the past 1 week and needless to say,
my workaround which involved using the react-native-cookies lib to force
the cookies to be saved is not needed anymore.
So i'm sure this issue can now be closed, unless of course another
regression occurs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5PCMJLW4FXBAY6SM2XK3SRPXZDANCNFSM4KF3SHDA>
.
_________________________________________
gitcoin is live and has generated over $7.3mm for Open Source Software - see
our results <https://gitcoin.co/results>
|
@owocki i think the latest version is out, i've been testing with the google play version all day and so far no issues 🙂 |
This can be reopened if issue arises again |
@ibrahimtaveras00 yes correct i've tested thoroughly, this is no longer an issue as far as I can tell. |
Privacy Badger (www.eff.org/privacybadger) is a browser extension that automatically learns to block invisible trackers. Privacy Badger is made by the Electronic Frontier Foundation, a nonprofit that fights for your rights online. Privacy Badger blocked 2 potential trackers on medium.com: app.link |
im going to close this bounty now since its already fixed on metamask side. if you feel you contributed to it being fixed, then pls DM + i can give u some ETH |
Issue Status: 1. Open 2. Cancelled The funding of 1.3 ETH (1544.84 USD @ $1188.33/ETH) attached to this issue has been cancelled by the bounty submitter
|
no thats fine I was having trouble communicating since the first reply. I
appreciate the clarity.
…On Fri, Jan 15, 2021, 8:01 AM Kevin Owocki ***@***.***> wrote:
im going to close this bounty now since its already fixed on metamask
side. if you feel you contributed to it being fixed, then pls DM + i can
give u some ETH
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJENRXKDL7UOHPCKNYJLPA3S2BREPANCNFSM4KF3SHDA>
.
|
0xB98ceE834EF70C4F67CD5a7dCdBa89ed4948e0c5 |
Hi from Gitcoin.
weve got a few reports from users that metamask mobile is not accepting cookies set in the browser from github login flow, preventing users from logging in on gitcoin, and creating a 500 on the Gitcoin login flow.
For example i got this from a user..
The objective of this bounty is to get Gitcoin login working on metamask mobile
Suggested fix path is to clone metamask-mobile, get it running on your local, and then try to login to gitcoin. The browser will receive a set of cookies/session variables back from Gitcoin.. which are not stored in the same manner that Chrome/Opera store them.. thus causing logins on gitcoin to fail on metamask mobile.
Please only apply to the bounty if you can get this done within 2 weeks; and if you have strong independent debugging skills.
The text was updated successfully, but these errors were encountered: