Login via Seafile using Oauth

Hello, can I login via /oauth/login/ in my own app? If so, what I should read and where (Seafile article perhaps)? Thanks.

Welcome to the Forum!

Seafile support OAuth2! You find all you need to know about authentication via OAuth here: https://download.seafile.com/published/seafile-manual/deploy/oauth.md

But how I can integrate Seafile storage with my site? I mean to get an API token to control Seafile storage via API.

You mean this: https://download.seafile.com/published/web-api/home.md

Yes, I want to allow my users to log in to Seafile via OAuth and manage files using my service.

Well then, there is all you need. But this is a bit of work.

Which scopes I need to send to authorize Seafile via OAuth? I can’t find this info. I see that Seafile API has /oauth/login/ route. Can I use it?