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

Creating account when the target Google Account has email aliases yields wrong account name #14

Open
dgreen opened this issue Jul 7, 2022 · 2 comments

Comments

@dgreen
Copy link

dgreen commented Jul 7, 2022

I have an account like

[email protected]

which has send as for [email protected], [email protected] in addition to [email protected]

While logged in as [email protected] and in the plugin creating an account, it properly shows [email protected] on the OAUTH page presented by Google. I check allowing access for the list of items.

I get a message saying 'OK - You can close this tab and go back to Obsidian!'

There I see the account added as [email protected] rather than [email protected]

It does appear to access events that are later in the day.

@Duifkruid
Copy link

I have the same problem, and although Contact are readable, no events are showing in Command Pallette. I have no issue with the sudden unexpected email in the account name (although curious), but wondering if this could be the reason no events show up, as the email is not granted any testing rights? Will try to add it as tester in the OAuth. Still weird.

@ntawileh
Copy link
Owner

@Boschatbrill this would most likely not be the same issue. having multiple email aliases in an account should not require you to get permissions for every individual email. the permissions are at the google account level. the issue the OP is describing (which you're also seeing) is just a display thing; basically to pick an account name, we're pulling the first email address on the account. If that happens to be an alias, that's what is used. There is minor thing we can do which is to make sure we select the main account name (vs. an email alias) for purposes of displaying the account name. As mentioned though, it should only be a display issue and not affect the actual functionality of pulling data.

if you continue to have issues with getting calendar events, we can move this to a new issue and troubleshoot there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants