FIXED TOKEN REFRESHINGGGGGGGG!!!!!! (I didn't realize you needed to set a new refresh token after each refresh)

Ethan Author

But that will target ALL 464 people who have downloaded

0 Likes
Ethan Author

I pushed it to production with that bug before I fixed 😬

0 Likes

oauth is great :)

0 Likes
Ethan Author

But OAuth is working nicely now!

0 Likes

holy crap!

0 Likes

Nope haha

0 Likes
Ethan Author

But I have no way to tell them to restart other than to make a new release notification

0 Likes
Ethan Author

It's only for people who downloaded / logged in again in the last 3 hours

0 Likes
Arnav Puri

Damn 😛

0 Likes
Arnav Puri

But I am also not storing user/pass for anyone, once they login, I store the token from server and save that locally. Does that count as OAuth? 😅

0 Likes
Ethan Author

Wow!! 😀

0 Likes
Arnav Puri

Ok if you say so :P BTW Ethan is approaching 100,000 praise :D

0 Likes

Good solution! @arnavpuri you don't need to do it because you're using the auth token method - ethan is using oauth :P

0 Likes
Ethan Author

What do you think @Sergio?

0 Likes

ethan leave it :P

0 Likes
Ethan Author

For the Gmail API I could use the same refresh token multiple times

0 Likes
Ethan Author

I'm thinking of just leaving it

0 Likes
Ethan Author

I was going to do username / password auth but I didn't want to store it unencrypted on their machine

0 Likes

That's just regular auth

0 Likes
Ethan Author

For some reason with the Makerlog API it returns a new refresh token after each refresh which you're meant to use for the next refresh

0 Likes
Ethan Author

And the only way it will fix is if people restart

0 Likes
Arnav Puri

Wait, what? @sergio do I need do to this in app also, because it is working fine so far 😛

0 Likes

Please sign in to leave a comment.