Skip to content

Add support for Seafile API Tokens #4

@Jburso

Description

@Jburso

Seafile supports many different types of authentication besides local, including SSO through OAuth2 and Shibboleth. Users who have set up their Seafile instance with these non-local options will not be able to sign in with this plugin.

Luckily, Seafile also provides a ENABLE_GET_AUTH_TOKEN_BY_SESSION = True directive in seahub_settings.py that will produce an API token in the user's profile page that can be used for authentication. Adding support for API tokens will allow all instances, regardless of their authentication methods, to utilize this plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions