summaryrefslogtreecommitdiff
path: root/internal/api/api.go
AgeCommit message (Collapse)Author
2026-02-12All: Rename packages that sound useless or clash with stdJeroen Wijenbergh
2026-02-12All: Use eduoauth-go v2 and update other depsJeroen Wijenbergh
2025-05-06All: Move to log/slogJeroen Wijenbergh
2025-05-06All: Remove ProxyGuard integrationJeroen Wijenbergh
This should be done in WireGuard-go or in case of a linux a small daemon
2025-05-06All: Run modernize --test --fixJeroen Wijenbergh
2024-11-21Replace all links from GitHub to Codebergjwijenbergh
2024-10-28API + HTTP + Exports: Cleaner TLS1.3 enforcement using a custom DefaultTransportjwijenbergh
Also fix where TLS 1.3 was not properly enforced for the endpoint cache
2024-10-11HTTP + OAuth API: Enforce TLS >= 1.3jwijenbergh
2024-08-30API: Improve error when server does not give an expires headerjwijenbergh
Otherwise it gives a cryptic error during parsing
2024-07-17API: Pass user agent to OAuth libraryjwijenbergh
eduoauth-go 1.1.0 feature
2024-07-17Client + API: Mark organizations expired *before* processing urljwijenbergh
2024-05-24API Test: Mock Transport by passing it aroundjwijenbergh
2024-05-24API Connect: Move errors.New to varsJeroen Wijenbergh
2024-05-24API auth: Return if err is not invalid tokensJeroen Wijenbergh
E.g. if refreshing fails here with a 500 or something else
2024-05-24API: Remove unused field SetAuthorizeTimeJeroen Wijenbergh
2024-03-06API: Replace error wrapping from %v to %wjwijenbergh
Otherwise we cannot unwrap these
2024-03-01API: Implement a 10 minute well-known endpoint cachejwijenbergh
2024-02-28API: Remove unused apiURL in structjwijenbergh
2024-02-28API: Update to latest eduoauth-go for better fetching of well-knownjwijenbergh
2024-02-19API: Switch back to wireguard+tcp instead of wireguard+proxyjwijenbergh
2024-02-19API: Set accept header to application/x-wireguard+proxy-profilejwijenbergh
2024-02-19WireGuard: Latest proxyguard server API changesjwijenbergh
wireguard+proxy profile and ProxyEndpoint instead of TCPEndpoint as proxyguard now uses HTTP for the initial packet
2024-02-19All: Document everything to pass revive lintjwijenbergh
2024-02-19API: Include regular wireguard profile even when prefer TCP is truejwijenbergh
Otherwise breaks servers that only have wireguard support and we pass prefer tcp
2024-02-19Server: Refactor internal server package to use new state filejwijenbergh
This completely rewrites the internal server package. Some advantages: - Caches less - Uses a callback interface so that the client package does not get so convoluted - Introduce a new API package that only deals with the server API and uses github.com/jwijenbergh/eduoauth-go