Coder Social home page Coder Social logo

Log-In for Users about eyeintoai-code HOT 5 CLOSED

laurafulton avatar laurafulton commented on August 28, 2024
Log-In for Users

from eyeintoai-code.

Comments (5)

adamperer avatar adamperer commented on August 28, 2024

Investigate Google Authentication to solve this feature.

from eyeintoai-code.

yzd1998111 avatar yzd1998111 commented on August 28, 2024

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.

adamperer avatar adamperer commented on August 28, 2024

@yzd1998111 can you deploy this update to GCP, so we can see how it behaves?

from eyeintoai-code.

adamperer avatar adamperer commented on August 28, 2024

@yzd1998111 Also, show result of logged-in user by renaming Player 1's name and profile to the logged-in user.

from eyeintoai-code.

yzd1998111 avatar yzd1998111 commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.