Closed Janpot closed 2 years ago
- [ ] We will evolve to a system that doesn't contain sensitive data on the frontend in readable form. Which means that we won't get the
value
in readable form in the connection editor. We will add theexecPrivate
method to the input and call a connection test method to determine validity, in the backend it will acquire an access token to check whether the connection works and the user hasn't revoked the token.
Makes sense. Feels like we can convert this one to a separate issue (since removing the value
prop from the connection params component is a broader change across datasources)
We can start by making each datasource not depend on secrets in the ConnectionEditor
, we don't necessarily have to do all at once in one PR. The current check for token validity is insufficient as it doesn't check whether the token has been revoked on the user side. We can solve both of these at once, independently of refactoring how datasources work with respect to secrets
Ordering my thoughts around that in https://github.com/mui/mui-toolpad/issues/403
value
in readable form in the connection editor. We will add theexecPrivate
method to the input and call a connection test method to determine validity, in the backend it will acquire an access token to check whether the connection works and the user hasn't revoked the token.execPrivate
.getToken
.