Skip to content

Commit

Permalink
Removed scope to see if grants will be decreased to readonly on github
Browse files Browse the repository at this point in the history
  • Loading branch information
wmioduszewski committed Apr 14, 2017
1 parent e0863c3 commit 66763f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions source/CodeMate.WebApp/App_Start/Startup.Auth.cs
Expand Up @@ -55,13 +55,13 @@ public void ConfigureAuth(IAppBuilder app)
app.UseGitHubAuthentication(
new GitHubAuthenticationOptions
{
ClientId = GetSettings(GitHubClientIdName),
ClientSecret = GetSettings(GitHubSecretIdName),
Scope = { "user:email" }
ClientId = GetSetting(GitHubClientIdName),
ClientSecret = GetSetting(GitHubSecretIdName),
//Scope = { "user:email" }
});
}

public string GetSettings(string settingId)
public string GetSetting(string settingId)
{
string res;
var settings = ConfigurationManager.AppSettings;
Expand Down
1 change: 1 addition & 0 deletions source/CodeMate.WebApp/CodeMate.WebApp.csproj
Expand Up @@ -193,6 +193,7 @@
<Content Include="Content\Site.css" />
<Content Include="Scripts\bootstrap.js" />
<Content Include="Scripts\bootstrap.min.js" />
<None Include="Properties\PublishProfiles\codemate - Web Deploy.pubxml" />
<None Include="Scripts\jquery-1.10.2.intellisense.js" />
<Content Include="Scripts\jquery-1.10.2.js" />
<Content Include="Scripts\jquery-1.10.2.min.js" />
Expand Down
1 change: 0 additions & 1 deletion source/CodeMate.WebApp/Web.config
Expand Up @@ -27,7 +27,6 @@
<remove name="FormsAuthentication" />
</modules>
</system.webServer>
<customErrors mode="Off" />
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
Expand Down

0 comments on commit 66763f0

Please sign in to comment.