oss-fuzz icon indicating copy to clipboard operation
oss-fuzz copied to clipboard

Cannot access oss-fuzz.com with multiple mail addresses attached to Google account

Open firewave opened this issue 1 year ago • 2 comments

As outlined in https://google.github.io/oss-fuzz/faq/#why-do-you-require-a-google-account-for-authentication you need a Google account for authentication. It seems the documentation falls short since you actually also need a @gmail.com address which was mentioned in other places (sorry, I have no reference to such a mention at the moment). I am also curious why it offers login with a GitHub account if you are required to use a Google account - but let's stay on one issue at a time.

I had a Google account for a long time but only an external address attached to it so I also added a GMail one. I used that as an additional address because I do not want my regular notifications to go into a separate account (I am aware that I would need to look into the other account to see the OSS-Fuzz stuff). That address is shown to me in Chrome and also when I select an existing account to log in.

But I am not able to authenticate on https://oss-fuzz.com. It always says

You (email=<my-external-address>) are not authorized to access this page!

I also tried a private tab and entered the @gmail.com address to log in and still the same. It seems like it is looking up the account via the given address but then uses the primary(?) account instead of the one used in the actual login.

https://issues.oss-fuzz.com seems to correctly use the @gmail.com as it is used in the default search term.

My address was only added to a project a few days ago in #12886 and I first thought it might not have been synchronized with the login but the issue still persists.

firewave avatar Jan 06 '25 12:01 firewave

Am not 100% sure what the specific issue is here, but, you can use a non-gmail account for OSS-Fuzz and many do this, me included. You just need to make sure the email is the primary email on the Google account https://support.google.com/accounts/answer/176347?hl=en Can you confirm this is your case as well?

DavidKorczynski avatar Jan 10 '25 10:01 DavidKorczynski

The @gmail.com address is what is shown next to the account on overviews and logins. In my account settings it is shown under "Google Account email". "Contact email" and "Alternate emails" show the non-Google address.

Maybe it is caused by the fact that the account was created with a non-Google primary address and changed later on. Or maybe oss-fuzz.com somehow stored this as the primary address because I tried to authenticate before I had a Google mail account.

firewave avatar Jan 10 '25 13:01 firewave