You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/server
boojack d1cef7a9ab feat(auth): add private instance mode derived from instance_url
Run the instance in private mode when instance_url is not configured: the API rejects anonymous requests except the auth-bootstrap set (sign-in, token refresh, instance profile/settings, SSO providers, share-link access) plus first-run user creation, and the web UI redirects anonymous visitors to /auth instead of /explore. Setting instance_url keeps the current public behavior. Access tokens and personal access tokens are never gated.

Enforcement lives in a shared Authorizer used by both the Connect interceptor and the gRPC-gateway middleware; the file server applies the same rule to public-memo attachments and avatars. Also merges the duplicated Authenticate/AuthenticateToUser token dispatch behind resolveBearer, dedups the AuthContext unauthenticated state, extracts the redirect decision into a pure shouldGatePrivateInstance helper, and prints the access mode at startup.
6 days ago
..
auth feat(auth): add private instance mode derived from instance_url 6 days ago
notification
router feat(auth): add private instance mode derived from instance_url 6 days ago
runner fix(s3presign): preserve motion media payload 2 months ago
cors.go fix(cors): open API to any origin for token auth, keep cookies same-origin 4 weeks ago
cors_test.go fix(cors): open API to any origin for token auth, keep cookies same-origin 4 weeks ago
server.go feat: add OpenAPI-driven MCP support (#6026) 1 month ago