So many logins, so many scenarios

Turns out integrating third party logins complicates things a bit.

Published on June 13, 2021

Project Progress

Project Week Project Hours
Mon, Jun 7 - Sun, Jun 13 2.5

This week I managed to put in the same amount of time I did last week, but I feel like I put in more time. This was most likely due to the fact that the time I put in was spread out over more days than the previous week. What matters is that I feel like I'm on track again.

As for progress, Facebook made me fill out some info about my app in order to test with its login. I also read Facebook's recommended approach to adding a Facebook login option to a site and it was a pretty good read. They brought up a couple of different scenarios that I just didn't want to deal with, but would eventually have to. For example, letting someone login with their Facebook account and then having that same user want to no longer use their Facebook login, but instead use a site created login.

I used my Facebook login for Stack Overflow just to see how they implemented the whole process and it was pretty interesting. What stuck out the most in my mind was that once I removed my Facebook login from my Stack Overflow account, the permission that I initially gave to Stack Overflow still existed in my Facebook account. This meant that I had to remember to remove that, as well. It made sense, because the action is being done on the Stack Overflow site. Logically, I'm thinking that if I am unlinking my Facebook login from Stack Overflow then the permission I gave to Stack Overflow should be removed in Facebook, but they are two different systems, so it wouldn't work that way.

Aside from that, I remember briefly seeing that I could use Firebase Authentication libraries for third party sign-in providers. I looked at the documentation for it again and it's looking more tempting to use, because the Firebase Authentication console can display whether someone used a third party sign-in provider like Facebook. I'm going to take the time to not use it for now and keep going in the same direction.

My next steps are trying to figure out how I want to set up the rights for users to restrict access and actions to certain endpoints. I should have something figured out by next week.

Life

My oldest daughter is really into the Octonauts and that's partially my fault. You see, I automatically try to impersonate the voices of the cartoons that my daughter watches and pretend to be them. Sometimes she's indifferent to my impressions, sometimes she tells me to stop, and other times she really likes them. When she likes them, she'll want me to pretend play as the character that she liked my impression of.

I was Captain Barnacles for a bit,

Captain Barnacles

until she made me do Peso Penguin's voice,

Peso Penguin

so I've been Peso Penguin ever since.

She's Tweak,

Tweak

which I routinely confuse with Twitch,

Twitch

which is a live streaming platform and nothing close to a cartoon bunny. As a side note, you should check out Twitch if you haven't, it's pretty awesome.

Anyways, she must really like my Peso Penguin impression, because she wanted me to be in character for the whole day, which was really tiring. I think she wants me to continue to be Peso Penguin for the rest of my life.

We'll see if I'm still impersonating a cartoon penguin next week.

Other notable characters we have pretended to be in the past are Ash Ketchum and Pikachu,

Ash Ketchum Pikachu

and Wreck-It Ralph and Vanellope.

Wreck-It Ralph Vanellope

I have to mention that her Pikachu impression is spot on and I always try to coax her into doing it, but it's hard. I'll say the line, "I'm Ash Ketchum, from Pallet Town! And I'm gonna be the world's greatest Pokemon Master!" Unfortunately, nine out of ten times she'll continue what she was doing, as if she didn't hear me.

Fortunately, I can get her to ask me, "Are you a hobo?", to which I will reply, "No. I am not a hobo." It's a Wreck-It Ralph line that we both laugh at.

This is my life.