« first day (3585 days earlier)      last day (1586 days later) » 

08:45
distant cricket sound
Imagine being so pointless even the crickets stay away from you
Thank you.
 
1 hour later…
09:49
Is this a new client side error standard I'm not aware of? :P
10:25
This was the most starred message last year on this day:
Aug 10 '19 at 17:41, by Mehdi B.
then if you see the right port mapping on the output of Ivan's command, go into the container "docker exec -it containerId bash"
 
2 hours later…
12:53
is it possible to implement a code based firebase authenticator? as an example, I get the code MKV1234 and I can use it to auth on a website
13:18
You mean as a text?
yes
like a short auth token
13:48
Yeah, that's just an SMS 2fa at that point, don't see why that'd be particularly hard
hmm I don't know if I can integrate this with firebase
but that uses a phone number
So where would you want to send the code?
To the ether
13:51
Email? Post? Runner? Write it in the sky using chemtrails?
to the ether
no, I'd like to auth the user using a code
instead email/password
What about google authenticator?
Yes, but the user needs to receive the code somehow
so the user would insert 1234 and I will know it's the user
might be a stupid approach
Yes, but how does the user know they need to insert 1234?
Where are they getting 1234 from?
13:53
I generate it for the user
But how do you share it with the user
the mobile app should generate it based on the email password
Now we're making progress
2
but on the website I'd like the user to use 1234
1234 it's his own code, from the app
Mawk mawk is right, the sanest approach here would be to use a totp - when the user signs up for your app, create a totp secret for them that is stored locally, as well as on the server
Then, just show the user a totp
As long as you have less than 50k users, odds of collisions are low
13:55
You should put a 3rd-factor authentication. Blood sample each time you use the app
blood is for the weak
But if you already have an app, and want to just show a temporary code once, and have the user enter it on the website, you probably can't do it out of the box with firebase
I didn't say it should be your blood
yea, I don't think firebase supports that
You'd have to write something that creates a code on the backend, sends it to the app, and shows it to the user, and expires the code automatically after a minute or two
13:56
yep, something like that I guess
so firebase is useless
imma need a server
An easier solution to code would be:
1. Have the user enter their email on your website
2. Send a push notification to all apps registered to that user
3. If the user clicks accept sign them in
You should be able to handle it with realtime database or something without an actual server
But why are you doing all this?
Cause he can
What in the last 30 years of username/password conditioning for users is not living up to your standards?
I wanted to do that in order to allow the user to upload a file to firebase storage without login
so the website would just do that
upload a file for a user
and adding login for such a simple thing was too much
request the user to login to only drag and drop one file and click upload
So.... why not just ask the users to visit grrigore.com/123456
And have that link tagged to a user
14:00
how do I tag that to a user?
in the db?
have the app store something on Firebase realtime db or whatever their storage offering is
i wanted the user to add the file and insert 123456
But if they're already on 123456, they can already upload it and be tagged to it automatically
how do I tag them?
Use a paintball gun
14:02
.... read the code from the url
I mean how do I authenticate user X using grrigore.com/123456
The number at the end is unique to each user
get the last section of the url
there's even an utility method for that
hmm I don't know if I can upload a file to firebase storage like that
I mean I know 123456 is user X
Read 123456 into a hidden form field that's passed to firebase storage or however you pass data as part of a file upload
14:07
yea I got that
well I give it a try
thank you
 
2 hours later…
16:25
posted on August 09, 2020

Android Weekly #426 🤖 #outlook a{ padding:0; } body{ width:100% !important; margin:0; padding:0; } body *{ -ms-text-size-adjust:none!important; -webkit-text-size-adjust:none!important; } body,.wrapper{ background:#ffffff; color:#505050; font-family:Arial, sans-serif; font-size:12px; } table,table td{ border-collaps

16:41
I no longer jam on Android. iOS all the way!
Apple > Android
17:09
Ban him
17:46
^
18:29
^
18:58
Kevin Paul Montealegre Melo requested access. Rep: 25 - Questions: 7 - Answers: 2 (ratio 4:1.1)
 
1 hour later…
20:19
bernie wouldn't be happy
 
3 hours later…
22:58
\o

« first day (3585 days earlier)      last day (1586 days later) »