forgejo/services/auth
zokki 5afa5a2b5a fix: better error message for invalid tokens (#10727)
Fixes https://codeberg.org/forgejo/forgejo/issues/7514
When a token is used, provide a better error message when that token is not valid.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10727
Reviewed-by: Ellen Εμιλία Άννα Zscheile <fogti@noreply.codeberg.org>
Reviewed-by: Andreas Ahlenstorf <aahlenst@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: zokki <zokki.softwareschmiede@gmail.com>
Co-committed-by: zokki <zokki.softwareschmiede@gmail.com>
2026-01-13 18:18:40 +01:00
..
source feat: allow sync quota groups with oauth2 auth source (#8554) 2025-12-01 14:12:00 +01:00
additional_scopes_test.go tests additional grant scopes 2024-08-09 14:58:15 +02:00
auth.go feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
auth_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
basic.go feat: avoid updating all columns (#9572) 2025-10-09 13:22:29 +02:00
group.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
httpsign.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
interface.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
oauth2.go fix: better error message for invalid tokens (#10727) 2026-01-13 18:18:40 +01:00
oauth2_test.go fix: better error message for invalid tokens (#10727) 2026-01-13 18:18:40 +01:00
reverseproxy.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
reverseproxy_test.go test: introduce TruncateBeansCascade test helper to support data cleanup of foreign-key referenced tables (#9684) 2025-10-15 20:26:41 +02:00
session.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
signin.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
source.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
sync.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00