datumforge / datum

Datum's central server
https://datum.net
Apache License 2.0
53 stars 7 forks source link

refetch google/github/social provider avatars every login #1084

Closed slevine12 closed 5 days ago

slevine12 commented 1 week ago

Resolves: https://github.com/datumforge/datum/issues/814

Updated the model to have the Image in the request body. Updated the handler to pass the image through to the check and create user. Update the createUserInput to set the avatar_remote_url to the image passed in.

Additionally, updated all of the tests to compare the remote avatar URL to the image URL.

sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
42.9% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud