Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#147 Implementing google authentication #115

Merged
merged 4 commits into from
Oct 14, 2024
Merged

#147 Implementing google authentication #115

merged 4 commits into from
Oct 14, 2024

Conversation

kennyg37
Copy link
Contributor

@kennyg37 kennyg37 commented Oct 7, 2024

Description

This facilitates google login by adding various mutations and querries to the backend

Description of tasks that were expected to be completed

  • A mutation that allows a logged user to edit their own account
  • Adding the AuthMethod field to the user model to allow easy verification of authentication methods
  • Adding a querry that retrieves a user using a certain filter could be email, firstname, lastname, country,...

How has this been tested?

  • Clone repo

  • Checkout branch fix-google-auth

  • Set the environment variables as in .env.example

  • Run npm install, then npm run dev to check if the app is running successfully

  • Navigate to localhost:5000 and query the server

  • mutation UpdateUserSelf to update your data

{  id,
userInput: {
firstname: "Kalisa"
country: "Congo"
  
}
  • Use query getByFilter to retrieve users with a certain filter

Track PR (issue number & link)

The issue link is the on front end click here

Screenshots (check the frontend)

N/A

@Salim-54 Salim-54 merged commit c5851b7 into develop Oct 14, 2024
1 check passed
@ceelogre ceelogre deleted the fix-google-auth branch November 11, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants