- Notifications
You must be signed in to change notification settings - Fork917
Commit8d5e6f3
authored
fix: fix IsGithubDotComURL check (#17022)
When DeviceFlow with GitHub OAuth2 is configured, the`api.GithubOAuth2Config.AuthCode` is[overridden](https://github.com/coder/coder/blob/b08c8c9e1ee8edf18e9ba575098d99533062a240/coderd/userauth.go#L779)and returns a value that doesn't pass the `IsGithubDotComURL` check.This PR ensures the original `AuthCodeURL` method is used instead.1 parent7d60186 commit8d5e6f3
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1096 | 1096 |
| |
1097 | 1097 |
| |
1098 | 1098 |
| |
1099 |
| - | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1100 | 1103 |
| |
1101 | 1104 |
| |
1102 | 1105 |
| |
|
0 commit comments
Comments
(0)