How to use the Storyblok CLI with an SSO account?

The Storyblok CLI saves the login information in the .netrc file in your home directory on Mac or Linux and in Windows, it is the _netrc file.

When you’re using SSO for login you need to modify that file as follows. Inside of it, you need to search for “machine api.storyblok.com” and below it, you need to replace the email after login with your SSO ID and Password with an OAuth token that can be generated in the account area OAuth Token

The content of the file looks similar to this:

.netrc or _netrc
machine api.storyblok.com
    login SSO_ID
    password Your_Oauth_Token