Board call API using OAuth 2.0

Putra
Putra Active Partner
First Comment First Anniversary Level 200: Building A Planning Solution in Board Level 100: Foundations of Building in Board
edited February 7 in Platform

Hi Community,

I want to create a Board "Data Source" connector to Google Drive API using OAuth 2.0 authentication.

I have created an id application on Google Dev/Cloud.

But I am not sure about the Board Callback URL section.

For now, I use url callback: https://my-domain-name/en/Callback.html.

When I create a Data Source API connector and test it, the Board web returns an error message "Test Connection Failed".

  1. Is the Callback URL I am using wrong?
  2. Can you give me an example of the correct Board OAuth 2.0 configuration?

Thank you

Answers

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    50 Answers 500 Comments 250 Likes Fourth Anniversary

    Hi @Putra ,

    I'm not sure if I understood you correctly, but if you're trying to establish a connection to Board to read Board data, your API in Board should look like this

    In my case it is the local machine I'm connecting to.

    You can always try if your connection to Board works correctly by using a tool like i.e. Postman.

    Best,
    Helmut

  • Putra
    Putra Active Partner
    First Comment First Anniversary Level 200: Building A Planning Solution in Board Level 100: Foundations of Building in Board

    Hi,

    Sorry for the confusion.

    I create a test scenario, I want Board to read Google Drive API using OAuth 2.0 authentication.

    Here screen capture of config when create "Data sources".

    I have also tested with postman and can successfully get a response from Google Drive API.
    With a similar configuration, I tried to enter it into the Board "Data sources" and the result was "Test connection failed"

    Is there any suggestion where/what I should check?
    Or is there a web page that I can read to understand Board with OAuth 2.0?

    Thank you.