This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/GitHub.Api/Application Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,24 @@ static partial class ApplicationInfo
1414#endif
1515 public const string ApplicationDescription = "GitHub for Unity" ;
1616
17+ #if DEBUG
18+ /*
19+ For external contributors, we have bundled a developer OAuth application
20+ called `GitHub for Unity (dev)` so that you can complete the sign in flow
21+ locally without needing to configure your own application.
22+ This is for testing only and it is (obviously) public, proceed with caution.
23+
24+ For a release build, you should create a new oauth application on github.com,
25+ copy the `common/ApplicationInfo_Local.cs-example`
26+ template to `common/ApplicationInfo_Local.cs` and fill out the `myClientId` and
27+ `myClientSecret` fields for your oauth app.
28+ */
29+ internal static string ClientId { get ; private set ; } = "924a97f36926f535e72c" ;
30+ internal static string ClientSecret { get ; private set ; } = "b4fa550b7f8e38034c6b1339084fa125eebb6155" ;
31+ #else
1732 internal static string ClientId { get ; private set ; } = "" ;
1833 internal static string ClientSecret { get ; private set ; } = "" ;
34+ #endif
1935
2036 public static string Version { get { return System . AssemblyVersionInformation . Version ; } }
2137
You can’t perform that action at this time.
0 commit comments