Requests from react app to integrations app

Hello,

I am connecting my frontend react app with the backend monday integrations app.

Previously, when we would run an automation/integration, monday attaches the authorization token to the header.

Now, with the react app, are we supposed to handle authoriztaion ourselves? Or, as Ibeen trying, use the following:

monday.get('sessionToken')
.then((token) => { 
  // send token to backend
  // On backend, call jwt.verify(token.data, 'MY_CLIENT_SECRET') 
}

I have tried this, but got an error that the signature is invalid.

Heading to sleep and will investigate further tomorrow, but if anyone has insights to this problem, I would appreciate the assistance.

1 reply