Logging into a self-hosted instance

What I want to do is npx retool-ccl login so that I can build custom components against my self-hosted instance. I've tried granting all scopes available to me, which is not many, to no avail. The error I get is

  • Access token is not valid or does not have custom component permissions.

I don't see a way to get better detail than that, but the token is copied straight after creating so I believe it's correct.

What's strange is I can't understand intended behavior from the documentation for access tokens (link). The list of scopes documented don't match at all with what I see, or even the screenshot on that same page. I must be misunderstanding and could use help.

For context, I'm on a self-hosted instance at version 3.52 and using the free license. I see in the docs that "Not all scopes may yet be available for your organization." but it's unclear if this is a misconfiguration, a licensing limitation, or what the intended behavior is.

Thanks in advance!

This was caused by my using an outdated version (the documentation on self-hosted versions led me astray). After an upgrade (to 3.148 at the moment), I have the correct scopes for custom component libraries. Mentioning for anyone who finds this thread.

1 Like

Glad to hear it, @Mark_Slade! Thanks for providing an update.

1 Like