Select the types of activity you want to include in your feed.
Fix token refresh not triggering on HTTP 401 ExpiredToken responses
is_expired_token() only matched status 400, but the PDS returns ExpiredToken on 401. Accept both status codes so the automatic session refresh triggers correctly.
···6363- Update login command to read password from stdin [#112](https://issues.opake.app/issues/112.html)
64646565### Fixed
6666+- Fix token refresh not triggering on HTTP 401 ExpiredToken responses [#197](https://issues.opake.app/issues/197.html)
6667- Require directory on upload, default to root when --dir is omitted [#192](https://issues.opake.app/issues/192.html)
6768- Fix bugs found during black-box integration testing of sharing workflow [#70](https://issues.opake.app/issues/70.html)
6869- Fix base64 padding mismatch when decoding PDS $bytes fields [#68](https://issues.opake.app/issues/68.html)
+2-1
crates/opake-core/src/client/xrpc/mod.rs
···291291 }
292292293293 /// Check whether a PDS response is an expired-token error.
294294+ /// The AT Protocol PDS may return ExpiredToken on either 400 or 401.
294295 fn is_expired_token(response: &HttpResponse) -> bool {
295295- if response.status != 400 {
296296+ if response.status != 400 && response.status != 401 {
296297 return false;
297298 }
298299