Skip to content

Commit 9acfcb3

Browse files
committed
github: use final OAuth device code endpoint
Use the final OAuth2 device authorization endpoint URI.
1 parent 2b944be commit 9acfcb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/GitHub/GitHubConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static class GitHubConstants
1616
public static readonly Uri OAuthRedirectUri = new Uri("http://localhost/");
1717
public static readonly Uri OAuthAuthorizationEndpointRelativeUri = new Uri("/login/oauth/authorize", UriKind.Relative);
1818
public static readonly Uri OAuthTokenEndpointRelativeUri = new Uri("/login/oauth/access_token", UriKind.Relative);
19-
public static readonly Uri OAuthDeviceEndpointRelativeUri = new Uri("/login/oauth/authorize/device", UriKind.Relative);
19+
public static readonly Uri OAuthDeviceEndpointRelativeUri = new Uri("/login/device/code", UriKind.Relative);
2020

2121
/// <summary>
2222
/// The GitHub required HTTP accepts header value

0 commit comments

Comments
 (0)