Comments (5)
Investigate Google Authentication to solve this feature.
from eyeintoai-code.
Added the google sign-in button for the app and tested locally that after sign in, the game is able to retrieve my google acct profile.
After sign-in, the button changes to display "signed-in" and clicking it again or close the page automatically logs the user out.
from eyeintoai-code.
@yzd1998111 can you deploy this update to GCP, so we can see how it behaves?
from eyeintoai-code.
@yzd1998111 Also, show result of logged-in user by renaming Player 1's name and profile to the logged-in user.
from eyeintoai-code.
The loading screen now uses google acct profile image and name as the player's name/profile. If the user does not sign in, the default profile img/name is used. The old way of creating those players had some anti-patterns against React. (Players array is passed from parent to children and modified without making a deep copy, causing many weird bugs when I tried to add this new feature.)
from eyeintoai-code.
Related Issues (20)
- Blank page for about us HOT 1
- Eye logo for favicon HOT 1
- Unselect and reselect visualizations HOT 1
- Rescale image for playing round HOT 3
- bug during end of watching round HOT 1
- fake guesses are from unrelated categories
- Instructions for Round 3 wrong HOT 1
- update header HOT 1
- Doesn't work well on mobile: warn users HOT 1
- Add github deployment instructions to README HOT 1
- confusing interaction during "multiple choice answer" hint part HOT 2
- confusing blank chat bubbles
- google sign-in button does not always appear HOT 1
- snake shows up in fruit category. think its a banana?
- Getting rid of Prolific Text HOT 1
- About Page
- Alert Box
- Final Public game Database HOT 1
- Change end of game survey
- Missing Images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eyeintoai-code.