Authenticating seafile terminal client for shibboleth users

I understand that a shibboleth user cannot be authenticated as the seafile server doesn’t store their password locally. How do we get the access token for shibboleth users, so they can use a terminal client?