Commit 0a3fc25
committed
fix(oauth): preserve GHEC tenant domains in OAuth endpoints
For ghe.com (GHEC), keep the full tenant domain (mycompany.ghe.com)
instead of incorrectly stripping to base domain (ghe.com).
Only strip api. prefix for api.github.com → github.com.1 parent 6ea3eec commit 0a3fc25
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
528 | 525 | | |
529 | 526 | | |
530 | 527 | | |
| |||
0 commit comments