Commit Graph

10 Commits

Author SHA1 Message Date
Adam Holt e6a24f0f5c Test that explicit AuthorizationServer settings take precedence.
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
2026-02-23 18:32:55 +01:00
Adam Holt 5c06b12943 Default to a api.github.com host 2026-02-23 18:24:40 +01:00
Adam Holt cdcb674940 Fix default scheme, add test for http GHES 2026-02-23 18:23:24 +01:00
Adam Holt f5a4da1bbd Linter fixes and ctx no longer needed 2026-02-23 18:20:55 +01:00
Adam Holt 4989da610f Resolve the URL at request time.
If we do this at start time, we won't know which GHEC tenant we're on.
2026-02-23 18:15:26 +01:00
Adam Holt b81964bc5b Add GHEC test 2026-02-23 17:47:19 +01:00
Adam Holt 03b0a84959 cfg.Host should be the non-api prefixed host 2026-02-23 17:42:22 +01:00
Adam Holt d0b1986a02 Generate authorization server urls during API resolution.
Then we can pass this into the OAuth implementation.
2026-02-23 17:30:31 +01:00
Oleksandr Redko 505d5dc33a refactor: modernize code with modernize and intrange 2026-02-12 12:58:49 +01:00
Adam Holt aa302209b0 Add Streamable HTTP mode (#1849)
Adds new `http` command supporting Streamable HTTP support, OAuth Metadata handler and Scope filtering.

Co-authored-by: kerobbi <kerobbi@github.com>
Co-authored-by: Matt Holloway <mattdholloway@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-06 15:33:41 +01:00