Regarding Nylas V3 Scheduler Issue in React

I’m trying to add nylas scheduler editor and booking page in react using UI editors but I can’t seem to authenticate user in NylasSchedulerEditor component here is my code:

getting this error after authenticating from this component

   <NylasSchedulerEditor

        eventOverrides={{
          schedulerConfigChanged: async (event) => {
            // Any task that you want to perform
            console.log(event);
          },
        }}
        onInit={(scheduler) => {
          console.log(scheduler)
        }}
        schedulerPreviewLink={`$http://localhost:3002/test-2?config_id={config.id}`}
        nylasSessionsConfig={{
          clientId: '8b9-....', /// client is setup here 
          redirectUri: `http://localhost:3002/test`,
          domain: 'https://api.us.nylas.com/v3',
          accessType: 'offline',
          hosted:'true'
        }}
        mode='app'
        defaultSchedulerConfigState={{
          selectedConfiguration: {
            requires_session_auth: false, // Creates a public configuration which doesn't require a session
          },
        }}

getting this error

POST https://api.us.nylas.com/v3/connect/token 400 (Bad Request)

client_secret’ missing. Redirect URI platform is set to ‘web’, making ‘client_secret’ required. this error I’m getting in

I have setup path in dashboard for redirecting.

Hi @Dhruval thanks for reaching us! Let me take a look and circle back shortly :+1:

@Dhruval just taking a look, the platform for this needs to be set as JavaScript following our Quickstart guides.

Take a look and see if this helps :+1: