need assistance with google OAuth scopes to use when setting up

spirogg

Active member
hello,

I have created an app for google OAuth for emails, I did not add any Scopes though since I was rushing to submit.. ( like a dummy) so I got approved but still this doesn't work.

so I assume I needed to add some scope(s) and I have a list for email scopes just not sure which ones I nee to add so I can resubmit for approval again

ok I found this but not sure what scopes I needed to add can anyone tell me what I need to add please. and I can resubmit


Scopes
#https://mail.google.com/Read, compose, send, and permanently delete all your email from Gmail
#https://www.googleapis.com/auth/gmail.addons.current.action.composeManage drafts and send emails when you interact with the add-on
#https://www.googleapis.com/auth/gmail.addons.current.message.actionView your email messages when you interact with the add-on
#https://www.googleapis.com/auth/gmail.addons.current.message.metadataView your email message metadata when the add-on is running
#https://www.googleapis.com/auth/gmail.addons.current.message.readonlyView your email messages when the add-on is running
#https://www.googleapis.com/auth/gmail.composeManage drafts and send emails
#https://www.googleapis.com/auth/gmail.insertInsert mail into your mailbox
#https://www.googleapis.com/auth/gmail.labelsManage mailbox labels
#https://www.googleapis.com/auth/gmail.metadataView your email message metadata such as labels and headers, but not the email body
#https://www.googleapis.com/auth/gmail.modifyView and modify but not delete your email
#https://www.googleapis.com/auth/gmail.readonlyView your email messages and settings
#https://www.googleapis.com/auth/gmail.sendSend email on your behalf
#https://www.googleapis.com/auth/gmail.settings.basicManage your basic mail settings
#https://www.googleapis.com/auth/gmail.settings.sharingManage your sensitive mail settings, including who can manage your mail

I have my own server and have WHM/cPanel installed
centos 7
25 465 and 587 are all open ports for use not being blocked.
I tried looking all over the forums but none of the discussions or questions asked have any information on this

- when creating the app I used my domain name
*Authorized JavaScript origins
#https://www.mydomain.com

- and then it asks for
*Authorized redirect URIs
#https://www.mydomain.com/admin.php?misc/email-oauth-setup

all other options were filled out correctly except I did not add scopes.
and still not sure what scopes I need to add to make this work.

Thanks for anyones help if they may be kind enough to assist

Kind Regards,
Spiro
 
Top