Okay
  Public Ticket #2814450
Google API Scopes
Closed

Comments

  • Shehbaz Afzal started the conversation

    Hi

    Google are being very difficult with our project. Asking us to justify each scope we have enabled in the Google Calendar API Console. Could tell me exactly which Scopes we need to select in order for Amelia to work correctly?

    Many thanks

    Shehbaz

  • [deleted] replied

    Hi Shehbaz

    Thank you for reaching out to us.

    There isn't anything that could be done for this from Amelia's side, you need to do this on your side - in your Google account.

    Please try checking all of the scopes that are in relation to the Calendar. 


  • Shehbaz Afzal replied

    Hi Blaženka

    Thanks for your message. 
    Yes we have carefully handpicked the the scopes we think are needed. But I was hoping you could confirm those scopes to us so we are confident we have the right scopes? 

    Thanks 

    Shehbaz

  • [deleted] replied

    Hi, Shehbaz,

    Blaženka is out of the office today, so I will respond to this question.

    According to our documentation, scopes settings should be skipped, and usually, it works just fine.

    Could you please provide us with a screenshot of the issue? It's not clear to me why Google requests you to set scopes? Do you use a corporate G Suit account?

    You can attach the screenshot as a private reply to this ticket.

    Best Regards. 

  •   Shehbaz Afzal replied privately
  • [deleted] replied

    Hi Shehbaz

    From your screenshot, I could see that you went to "Scopes" - a step that should be skipped - it's written in our documentation as well

    5645698063.png

    To sum it up:

    1. Create a project, and select it.

    2. Go to Library in the left-hand side menu, search for Google Calendar and enable the API.

    3. Click on Create Credentials in the top right corner.

    4. Choose Google Calendar API; User data, and click on Next:

    9385769550.png

    5. Add App name, and your email twice:

    1786604677.png

    6. Skip Scopes - step 3 you mentioned in your previous response, and go to "OAuth Consent Screen":

    5645698063.png

    7. Publish the App, and confirm the publication:

    7580262156.png
    5030433161.png

    8. Go to Credentials, and click on "+ CREATE CREDENTIALS":

    5094827874.png

    9. Choose "OAuth client ID"; select "Web application" under "Application type"; enter the name, and add the URI from Amelia settings/Integrations/Google Calendar/Redirect URI field:

    2742713695.png
    8757238065.png

    10. Click on "CREATE" and a modal will open up with the credentials you need to paste into corresponding fields in Amelia settings/Integrations/Google Calendar:

    6010479733.png

    This is literally copied from our documentation, and if you follow these 10 steps, you will be able to configure Google Calendar integration with Amelia.


  • Shehbaz Afzal replied

    Thank you. That worked.

  • [deleted] replied

    You are most welcomesmile.png

    I am glad to hear you were able to solve the issue. If there is anything else we can assist you with please don't hesitate to open a new ticket.

    Have a wonderful day!