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

Update-GSGmailAutoForwardingSettings returns 403 #25

Closed
scrthq opened this issue Mar 28, 2018 · 5 comments
Closed

Update-GSGmailAutoForwardingSettings returns 403 #25

scrthq opened this issue Mar 28, 2018 · 5 comments
Assignees
Labels

Comments

@scrthq
Copy link
Member

scrthq commented Mar 28, 2018

Scope is incorrectly set in function, should be using scope
https://www.googleapis.com/auth/gmail.settings.sharing, not https://www.googleapis.com/auth/gmail.settings.basic.

Working on fix

@scrthq scrthq added the bug label Mar 28, 2018
@scrthq scrthq self-assigned this Mar 28, 2018
@scrthq
Copy link
Member Author

scrthq commented Mar 28, 2018

image

Fix confirmed ^^, checking the rest of the Update-GSGmail* functions to be safe, then pushing out the fix

scrthq added a commit that referenced this issue Mar 28, 2018
correct scope in Update-GSGmailAutoForwardingSettings
scrthq added a commit that referenced this issue Mar 28, 2018
correct scope in Update-GSGmailAutoForwardingSettings
@scrthq
Copy link
Member Author

scrthq commented Mar 28, 2018

Confirmed updateAutoForwarding is the only Users.settings that uses the settings.sharing scope.

pull request submitted with fix and version bump, pending CI tests passing to deploy v2.2.1 to PowerShell Gallery with fix

@scrthq
Copy link
Member Author

scrthq commented Mar 28, 2018

@scrthq scrthq closed this as completed Mar 28, 2018
@ryanfog
Copy link

ryanfog commented Apr 6, 2018

Quick question do i have an update or publishing problem that I am not receiving 2.2.1 when i do the following

capture

@scrthq
Copy link
Member Author

scrthq commented Apr 6, 2018 via email

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

No branches or pull requests

2 participants