Ryan Richard
abe3391cce
use github.Ptr where deprecated github.String and github.Int64 were used
2025-01-14 09:40:48 -08:00
Ryan Richard
6ae27c87f6
upgrade dep to github.com/google/go-github/v68/github
2025-01-14 09:03:06 -08:00
Ryan Richard
170cc3bba4
ran new hack script to update all majors: updated github mod
2024-12-03 12:52:29 -06:00
Ryan Richard
e37d1444c4
bump to github.com/google/go-github/v66
2024-10-15 14:06:34 -07:00
Ryan Richard
7483de5e90
upgrade github.com/google/go-github from v62 to v63
2024-08-06 13:45:38 -07:00
Ryan Richard
8f8db3f542
Make github org comparison case-insensitive, but return original case
...
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com >
2024-05-22 21:21:45 -05:00
Ryan Richard
8923704f3c
Finish initial github login flow
...
Also:
- fix github teams query: fix bug and sort/unique the results
- add IDP display name to github downstream subject
- fix error types returned by LoginFromCallback
- add trace logs to github API results
- update e2e test
- implement placeholder version of refresh for github
2024-05-22 21:21:45 -05:00
Joshua Casey
ba2d122308
fix lint
2024-05-22 21:21:45 -05:00
Joshua Casey
8719c7a2db
Standardize error messages and url handling within NewGitHubClient
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-05-22 21:21:45 -05:00
Ryan Richard
16fa12f455
Handle empty or invalid github API responses
...
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com >
2024-05-22 21:21:45 -05:00
Joshua Casey
555b1c80e3
Use passed-in context
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-05-22 21:21:45 -05:00
Joshua Casey
a12a5f387a
Empty allowedOrganizations will return all teams
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-05-22 21:21:45 -05:00
Joshua Casey
c087e33b86
Add client wrapper for github.com/google/go-github/v62
2024-05-22 21:21:45 -05:00