logout inactive on exteranal auth
This commit is contained in:
5
auth.md
5
auth.md
@@ -217,3 +217,8 @@ PYTORRENT_AUTH_PROXY_USER_HEADER=Remote-User
|
||||
```
|
||||
|
||||
The configured header must contain a non-empty username.
|
||||
## External provider logout
|
||||
|
||||
When `PYTORRENT_AUTH_PROVIDER=tinyauth` or `PYTORRENT_AUTH_PROVIDER=proxy` is used, pyTorrent does not render an active logout action. The authenticated session is owned by the upstream provider, so logging out must be handled by that provider, for example through the Tinyauth logout endpoint or its own UI.
|
||||
|
||||
The `/logout` route becomes a safe no-op redirect to the main page for external auth providers. Local authentication keeps the original pyTorrent logout behavior.
|
||||
|
||||
Reference in New Issue
Block a user