After 1h the bubble API connector does not refresh its token for OAuth2 when being used in the plugin view for development.
How to force the connector to get a new access token? I tried alot but not working. There must be a way.
I know there were other posts, but these were not helpful.
This is expexted behavior and the token will last as lo lng as the api service allow it to last. Bubble however will refresh token for your user automatically. You need to run in debug mode again to get a new one for API connector.
I had my initial connector run in debug mode for multiple times over at least 30 min, but no change. Also the dialog popup with the message that the connecter has been successfully set up did not show anymore. Which is the indication that something is wrong.
So as a quick hack I did a new connector from scratch, but also this stopped working after 1h.
The initial connector now started to work again (a manual refresh in debug mode) , so that I can continue building - but this is of course not a good solution.
You need to use login with social network again like the first time you get the access token. You should get another message that confirm that API connector is initialized like the first time. Sometimes, try to log out before log in