aardvarkxr / hackathon-sep20

BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

General OAuth client (OpenID Connect) #47

Closed BOLL7708 closed 3 years ago

BOLL7708 commented 3 years ago

What would this gadget do?

A way to perform OAuth authentications with Aardvark.

Who would use this gadget?

Would be neat if it could become a component others could use to integrate their own gadget with any online service that supports it, tailoring it for OpenID Connect which is widely adopted.

Assuming that you're on the team, what other skillsets would you need to make this project happen over a couple days of hacking?

React knowledge would be useful, as I lack that.

What will be the toughest part of building this gadget?

Just figuring out how to do this in an accessible and intuitive way, that comes before implementation.

Side note, closed my other projects as this one kind of took over. Both of those would use this as a component though, so there's that.

BOLL7708 commented 3 years ago

While thinking about this, I realized that the most straight forward way would probably be to have a page outside of VR that lets a person sign in to various authentication providers, Google, Twitter, Facebook, Twitch, etc. It doesn't even have to be OAuth at that point, just links to the various login pages so the user can sign in to the service to store a session.

Then, if gadgets all run in the same space, any OAuth against a service already signed in will be a clicky affair, no data entry, if it works as it usually does anyway. Otherwise there are complications like 2-factor-authentication, in that case the user still has to bring out their phone while in VR, so why not take care of this beforehand.

BOLL7708 commented 3 years ago

I feel like writing a diary here, instead of spamming the Slack, not sure which is worse. In any case, I was mostly sketching up what to do yesterday, was tired after work and I seemingly have a cold that is making me somewhat lacking in energy, at least I hope it's the common cold.

BOLL7708 commented 3 years ago

Long day, now soon 2AM over here. Found out and realized a number of things.

BOLL7708 commented 3 years ago

Sunday to me was a bit chaotic for me so didn't get much time coding, but it felt like I had to show at least something for my efforts.

End thoughts. I'm happy with how well it worked, the WebSocket connection is pretty much immediate, but I'm starting to question if letting viewers cause big events in VR would be too disruptive, and at the same time if they weren't wouldn't it a waste of points and time? And would I feel forced to act out surprise when they get triggered? That's not really me, so I'm pondering pivoting to start with a chat system and perhaps a notification from PubSub what normal rewards have been unlocked, like taking a break etc. Something to consider.

Edit: Final thoughts on AardvarkXR?