I ma getting 'Login has been canceled' error on previewing the calendar page

  • 1
  • Problem
  • Updated 1 year ago
  • In Progress
I have created a google calendar API and using it as a data source. On preview, I am getting this error 'Login canceled'.
Photo of Keyuree Dave

Keyuree Dave

  • 140 Points 100 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Janick

Janick

  • 916 Points 500 badge 2x thumb
Dave,

Did the OAuth connection to the Google API work once? If so, could you please try reentering the client ID and client secret,
then save the OAuth connection again and test it?

Thanks,

Janick
Photo of Keyuree Dave

Keyuree Dave

  • 140 Points 100 badge 2x thumb
I am new to skuid and It has not worked once for me. And I did not see any option to add the ID and secret in Skuid.
Photo of Janick

Janick

  • 916 Points 500 badge 2x thumb
Have you seen and followed this guide on how to setup a googe API and the OAuth connection in Skuid?

This describes all steps needed to setup a functioning OAuth connection with Google API.

Janick
Photo of Keyuree Dave

Keyuree Dave

  • 140 Points 100 badge 2x thumb
yes, I have done the set up as the steps suggested in the guide.
Photo of Keyuree Dave

Keyuree Dave

  • 140 Points 100 badge 2x thumb
Hi Janick, 

I am facing multiple issues. If you can help creating filters, would be great. I am unable to get the list of fields while creating the filter. 
Photo of Janick

Janick

  • 916 Points 500 badge 2x thumb
Then you should've stumbled over these steps to create the data source inside Skuid:
  1. Navigate to Configure > Data Sources > Authentication Providers.
  2. Click New Authentication Provider.
  3. Fill out the necessary fields:
    • Name: Enter a unique name, such as GoogleAuth.
    • Authentication Method: OAuth 2.0 / OpenID
    • Provider Type: Google
    • Grant Type: Authorization Code
    • The Authorize and Token Endpoint URLs will be set automatically by the provider type.
    • Default Scopes: This field will be auto-populated with the appropriate scopes for both Google Drive and Calendar.
    • Client ID and Client Secret: Enter the respective credentials for your Google project
  4. Click Save.
  5. If Skuid asks you to create a Remote Site Setting, click OK.
Did that work out for you? Could you provide a screenshot of these OAuth settings?

Thanks,

Janick
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
Hi Janick,
I actually set this up yesterday. I entered the Id and secret as per the tutorial. Upon page load, I am presented with a GoogleAPI login screen. I login, then the login window goes blank except a message that says "window should close momentarily". It never closes on its own. If I click the x to close the window, it then get the login cancelled error message. Login has never worked successfully. I have not tried to reset ID and secret yet. I will try that next. I am on version 10, windows 10, latest chrome browser.
Photo of Janick

Janick

  • 916 Points 500 badge 2x thumb
Hi Raymond,

thanks for the additional information. As you have setup the connection just yesterday, i'm not sure if the secret and ID renew will help but i'm looking forward to hearing your results!
I'll keep investigating the issue and let you know if i find the reason for this.

Thanks,

Janick
Photo of Keyuree Dave

Keyuree Dave

  • 140 Points 100 badge 2x thumb
Hi Janick,

This time around it asked me to login to the google account. On logging in, I got the below error.