Is Our Current Use and Management of Connection Tokens in Our App Correct?

This topic was automatically generated from Slack. You can find the original thread here.

Hi, I wanted to clarify if the way we intend to use connection tokens is correct. On the screenshot you can see Our app. We have a list of apps and user can connect to them.
Right now we get a new connection token each time user clicks “Connect”. So if he closes the window and clicks Connect again - we will use 2 tokens.
But if we try to reuse/cache tokens it all becomes overcomplicated. Rate limits (100tokens/user/minute) seems to be OK with this approach.

Wanted to know if this approach is correct

Yea that should be fine, you could also change when you create the token to when the user loads that page for instance, since the token creation only requires external_user_id, and nothing about the app the user is creating.