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

Avatar not imported from Google sign-in despite asking for it #28483

Closed
arobertn opened this issue Nov 18, 2024 · 5 comments
Closed

Avatar not imported from Google sign-in despite asking for it #28483

arobertn opened this issue Nov 18, 2024 · 5 comments
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@arobertn
Copy link

Steps to reproduce

  1. Sign up as new user using Google sign-in
  2. When the "app is requesting additional information" leave avatar checked
  3. Complete signup and return to app

Outcome

What did you expect?

Avatar from Google is used.

What happened instead?

You get a blank initial avatar and are asked to upload a picture from your local disk.

Operating system

macOS

Application version

1.11.85

How did you install the app?

Downloaded .dmg image from element.io

Homeserver

Don't know

Will you send logs?

No

@arobertn
Copy link
Author

Note, email address and display name (the other two additional-information items you can leave checked to import from Google) DO come over properly, so it's just the third, avatar image, that does not.

@dosubot dosubot bot added O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist labels Nov 18, 2024
@t3chguy
Copy link
Member

t3chguy commented Nov 18, 2024

That's up to your homeserver to do. Element Web has no concept of Google auth, its just a button rendered by your homeserver via a Matrix API and handled entirely by your homeserver. I suggest opening an issue with your homeserver provider for this misconfiguration.

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
@arobertn
Copy link
Author

Sure, I'll try to find a way to open the request with https://matrix-client.matrix.org (not immediately obvious on visiting the www site). Just curious as I wasn't offered any choice about servers, just straight into a signup screen that offered Google as an option – how is this default home server determined? Is it a choice by Element?

@arobertn
Copy link
Author

arobertn commented Nov 18, 2024

Also, @t3chguy are there some logs I could send to help verify that the problem is indeed on the Matrix end, i.e. showing that it was not the case that Matrix tried to set the avatar and but Element rejected or overwrote it with the default?

@t3chguy
Copy link
Member

t3chguy commented Nov 18, 2024

The client is not involved from the moment you click the Google button until you are fully logged in at the end. You could try collect browser logs from the actual OIDC interaction but that'd be outside of Element.

As soon as you click the Google button you are sent to a Matrix auth redirect API, which then sends you to Google, when when you're done with that you go to a Synapse-specific API which eventually redirects you back to Element when auth is complete.

Element never receives any information in this flow other than a login token which it exchanges for an access token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants