photoprism/pkg
Michael Mayer 51c4eed71e Auth: Serve Portal OIDC OP endpoints under /api/v1/oauth/* #4368 #4369
Move the Portal OIDC OP authorize/token/userinfo onto the shared CE
/api/v1/oauth/* routes (the reserved #4368/#4369 stubs) and drop the parallel
root /oauth/* set.

- Add overridable handler hooks (oauth_handlers.go) mirroring
  server.WebDAVHandler; OAuthToken delegates only the authorization_code grant
  (gated on a form content type) and keeps client_credentials/password/session
  unchanged; userinfo now serves GET and POST.
- Scope the OP session cookie to /api/v1/oauth (base-path aware) so the browser
  still sends it to the moved authorize endpoint instead of looping.
- Stop the proxy re-scoping instance->Portal authorize redirects
  (portalRootPathPrefixes -> /api/v1/oauth/).
- Point discovery at issuer + /api/v1/oauth/*; fix the JWKS URL base-path
  doubling for sub-path deployments (also in CE openid.go).
2026-06-03 15:28:05 +00:00
..
authn Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
capture Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
checksum Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
clean FFmpeg: Use atomic.Pointer for thread-safe Exclude list access #5617 2026-05-26 15:57:59 +00:00
dsn Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
enum Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
env Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
fs Storage: Map out-of-space writes to the insufficient-storage error #5613 2026-05-30 22:23:14 +00:00
geo Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
http Auth: Serve Portal OIDC OP endpoints under /api/v1/oauth/* #4368 #4369 2026-06-03 15:28:05 +00:00
i18n Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
list Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
log Storage: Gate convert/backup/zip writes and centralize Err sentinels #5613 2026-05-26 01:35:06 +00:00
media Video: Document codec detection and chunk scans in package docs #5617 2026-06-01 18:44:21 +00:00
react Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
rnd Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
time Docs: Bump copyright year to 2026 in Go package headers 2026-05-25 14:39:38 +00:00
txt Backend: Call clip.Bytes directly and drop the txt.ClipBytes facade #5638 2026-06-03 09:50:56 +00:00
vector Vector: Reorganize package into topic-based files #4669 2026-05-30 09:44:03 +00:00
AGENTS.md Docs: Split AGENTS guides into a hierarchical structure 2026-04-09 19:28:14 +02:00