Hubspot - Oauth2.0 User Agent Flow

Hello,

I’ve spent a lot time trying to configure the Oauth2.0 User agent flow with Hubspot. I know there is another post about it saying it’s not working but it hurts my mind to believe you can not do it with Hubspot. I have tried different configurations but everytime I get this error message:

{“statusCode”:400,“body”:{“status”:“ERROR”,“message”:“Missing state from oauth provider”}}.

If it’s really not possible it means everyone using Bubble and Hubspot integration are doing a custom token integration? In this case if you want to make calls from your front end how to not expose the token in the browser? Am I missing something?

Thanks a lot for any helpthat you can provide Bubblers.

Best.

If you like i can help you setup it manully, without bubble.io native flow , but buildign the flow with api calls,