Automated user provisioning for Serverless.com

Is there any way to automate user provisioning in Serverless.com?

Whether with SSO or just via the API?

I am trying to use the https://api.serverless.com/core/tenants/finncom/members API route to invite members, but Serverless access keys don’t seem to be authorised to call it.

How can I obtain a long-lived credential to use to call this route?

Or is the only way to keep on refreshing my dashboard access token?

Hi there. Thanks for the feedback. We have heard this a lot and are currently looking into it. The way to do so right now is to create a license key (which has no additional cost) and share that with the users in your org that want to connect. When you run serverless login and choose the option to paste a License key you can use the one created in your Dashboard org to complete the authentication process.