Skip to main content
Nintex Community Menu Bar
Question

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

  • Jul 10, 2024 8:42 PM UTC
  • 9 replies
  • 65 views
  • Translate All

Forum|alt.badge.img+2

I have created a google calendar API and using it as a data source. On preview, I am getting this error ‘Login canceled’.

9 replies

Forum|alt.badge.img+4
  • Jul 10, 2024 9:18 PM UTC

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

Translate

Forum|alt.badge.img+2

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.

Translate

Forum|alt.badge.img+4
  • Jul 10, 2024 9:18 PM UTC

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

Translate

Forum|alt.badge.img+2

yes, I have done the set up as the steps suggested in the guide.

Translate

Forum|alt.badge.img+2

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.

Translate

Forum|alt.badge.img+4
  • Jul 10, 2024 9:18 PM UTC

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


Translate

Forum|alt.badge.img+17

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.

Translate

Forum|alt.badge.img+4
  • Jul 10, 2024 9:18 PM UTC

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

Translate

Forum|alt.badge.img+2

Hi Janick,

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

Translate