apify-cli
apify-cli copied to clipboard
Improve support for scoped tokens
While unusual, there might be use cases when it is desirable to run the CLI with a scoped token. Therefore CLI needs to be able to handle them well, offering an experience of gradual degradation: Only commands that require a particular permission missing in the token's scope should fail, while the rest of the CLI should be unaffected. This is currently not always the case.
Related issues
- Introduce granular permissions for reading user information. Needed to allow the standard sign-in to CLI with a scoped token.
- Fetch proxy password from API in Apify SDK only when needed. Needed as fetching proxy password is not supported with scoped tokens at all, and probably won't be in the near future.