-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Web.config
199 lines (196 loc) · 11.2 KB
/
Web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
</sectionGroup>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler" requirePermission="false" />
<section name="glimpse" type="Glimpse.Core.Configuration.Section, Glimpse.Core" />
</configSections>
<appSettings>
<add key="servicestack:license" value="1001-e1JlZjoxMDAxLE5hbWU6VGVzdCBCdXNpbmVzcyxUeXBlOkJ1c2luZXNzLEhhc2g6UHVNTVRPclhvT2ZIbjQ5MG5LZE1mUTd5RUMzQnBucTFEbTE3TDczVEF4QUNMT1FhNXJMOWkzVjFGL2ZkVTE3Q2pDNENqTkQyUktRWmhvUVBhYTBiekJGUUZ3ZE5aZHFDYm9hL3lydGlwUHI5K1JsaTBYbzNsUC85cjVJNHE5QVhldDN6QkE4aTlvdldrdTgyTk1relY2eis2dFFqTThYN2lmc0JveHgycFdjPSxFeHBpcnk6MjAxMy0wMS0wMX0=" />
<add key="Glimpse:DisableAsyncSupport" value="true" />
<add key="webPages:Enabled" value="false" />
<add key="RecreateAuthTables" value="True" />
<add key="AdminUserNames" value="demis.bellot@gmail.com" />
<!-- Auth config -->
<add key="oauth.RedirectUrl" value="http://localhost:11001/" />
<!-- Should match with OAuth2's App Callback URL -->
<add key="oauth.CallbackUrl" value="http://localhost:11001/auth/{0}" />
<!-- Create Twitter App at: https://dev.twitter.com/apps -->
<add key="oauth.twitter.ConsumerKey" value="3H1FHjGbA1N0n0aT5yApA" />
<add key="oauth.twitter.ConsumerSecret" value="MLrZ0ujK6DwyjlRk2YLp6HwSdoBjtuqwXeHDQLv0Q" />
<!-- Create Facebook App at: https://developers.facebook.com/apps -->
<add key="oauth.facebook.Permissions" value="email" />
<add key="oauth.facebook.AppId" value="1934838220075493" />
<add key="oauth.facebook.AppSecret" value="2a546b53bc0151244eab85ddc2c165a1" />
<!-- Create Google App at: https://code.google.com/apis/console/ -->
<add key="oauth.google.ConsumerKey" value="1052104404413-vceri7sp384htaq37cteg12bmfonijrr.apps.googleusercontent.com" />
<add key="oauth.google.ConsumerSecret" value="6QRMoM5-_LDQ8RJsIVTHpoBX" />
<!-- Create Google App at: https://code.google.com/apis/console/ -->
<add key="oauth.GoogleOAuth.ConsumerKey" value="731622862518.apps.googleusercontent.com" />
<add key="oauth.GoogleOAuth.ConsumerSecret" value="BvumMTV9VEyHj_2uMfDXHaaP" />
<!--<add key="oauth.GoogleOAuth.AuthorizeUrl" value="https://accounts.google.com/o/oauth2/auth?prompt=consent" />-->
<!-- Create LinkedIn App at: https://www.linkedin.com/secure/developer?newapp= -->
<add key="oauth.LinkedIn.ConsumerKey" value="ck8n5g2fxd6o" />
<add key="oauth.LinkedIn.ConsumerSecret" value="Mpy9Pl4uTnRrSee8" />
<!--Create GitHub App at: https://github.com/settings/applications/new -->
<add key="oauth.github.Scopes" value="user" />
<add key="oauth.github.ClientId" value="99a384d89c0220e57965" />
<add key="oauth.github.ClientSecret" value="b27bce57a7a06390f6acfd29229c5a0496e3df03" />
<!-- Create Foursquare App at: https://foursquare.com/developers/register -->
<add key="oauth.FourSquare.Scopes" value="basic" />
<add key="oauth.FourSquare.ConsumerKey" value="TSDLJ5NTMREW0XJIEADD4TOF0ZRSAGY1SVFLXXKT10FQPHLQ" />
<add key="oauth.FourSquare.ConsumerSecret" value="5O1S22BY0YVEL1X5OA0D4ZOSYC2MRYZYIHN4IZ0DOAPCT34X" />
<!-- Create App https://oauth.yandex.ru/client/new -->
<add key="oauth.Yandex.AppId" value="4a453a7d9d594ad59233a075fefc244d" />
<add key="oauth.Yandex.AppPassword" value="233973486c4c49c9952472503bf98d5e" />
<!-- Create App http://vk.com/editapp?act=create -->
<add key="oauth.vkcom.ApplicationId" value="4372582" />
<add key="oauth.vkcom.SecureKey" value="beCFl4Pz6FOQf3iBlDxB" />
<add key="oauth.vkcom.Scope" value="friends,offline" />
<add key="oauth.vkcom.ApiVersion" value="5.21" />
<!--Create Odnoklassniki App at: http://www.odnoklassniki.ru/devaccess-->
<add key="oauth.Odnoklassniki.ApplicationId" value="1089990656" />
<add key="oauth.Odnoklassniki.PublicKey" value="CBABPIPBEBABABABA" />
<add key="oauth.Odnoklassniki.SecretKey" value="B268138DF0BE3919FB1BBED8" />
<add key="jwt.AuthKeyBase64" value="w85nuoW3GxKFpfG7YTmG2f1Lslcl3k5AFEOxvyi2EGM=" />
<!-- Create Microsoft Graph App https://apps.dev.microsoft.com -->
<add key="oauth.microsoftgraph.AppId" value="296922ad-bf45-4161-84ac-fe8c44bbf73a" />
<add key="oauth.microsoftgraph.AppSecret" value="ghdqjQTJTC1567!ptBG9}=;" />
<add key="oauth.microsoftgraph.SavePhoto" value="true" />
<add key="oauth.microsoftgraph.SavePhotoSize" value="32x32" />
<!-- Create LinkedIn App at: https://www.linkedin.com/secure/developer?newapp= -->
<add key="oauth.linkedin.ConsumerKey" value="ck8n5g2fxd6o" />
<add key="oauth.linkedin.ConsumerSecret" value="Mpy9Pl4uTnRrSee8" />
<add key="jwt.RequireSecureConnection" value="false" />
<add key="apikey.RequireSecureConnection" value="false" />
</appSettings>
<!--
For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web>
<httpHandlers>
<add path="*" type="ServiceStack.HttpHandlerFactory, ServiceStack" verb="*" />
<add path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" />
</httpHandlers>
<compilation debug="true" targetFramework="4.6">
<buildProviders>
<add extension=".cshtml" type="ServiceStack.Razor.CSharpRazorBuildProvider, ServiceStack.Razor" />
</buildProviders>
<assemblies>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="ServiceStack" />
<add assembly="ServiceStack.Razor" />
<add assembly="ServiceStack.Text" />
<add assembly="ServiceStack.OrmLite" />
<add assembly="ServiceStack.AuthWeb.Tests" />
</assemblies>
</compilation>
<pages controlRenderingCompatibilityVersion="4.0" />
<!-- Glimpse: This can be commented in to add additional data to the Trace tab when using WebForms
<trace writeToDiagnosticsTrace="true" enabled="true" pageOutput="false"/> -->
<httpModules>
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" />
</httpModules>
</system.web>
<!-- Required for IIS7 -->
<system.webServer>
<urlCompression doStaticCompression="true" doDynamicCompression="false" />
<modules runAllManagedModulesForAllRequests="true">
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" preCondition="integratedMode" />
</modules>
<handlers>
<add path="*" name="ServiceStack.Factory" type="ServiceStack.HttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" />
<add name="Glimpse" path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" preCondition="integratedMode" />
</handlers>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
<system.web.webPages.razor>
<pages pageBaseType="ServiceStack.Razor.ViewPage">
<namespaces>
<add namespace="System" />
<add namespace="ServiceStack" />
<add namespace="ServiceStack.Html" />
<add namespace="ServiceStack.Razor" />
<add namespace="ServiceStack.Text" />
<add namespace="ServiceStack.OrmLite" />
<add namespace="ServiceStack.AuthWeb.Tests" />
</namespaces>
</pages>
</system.web.webPages.razor>
<log4net>
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="teststub.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="100KB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date (GMT%date{%z}) [%thread] %-5level %logger - %message%newline" />
</layout>
</appender>
<appender name="MemoryAppender" type="log4net.Appender.MemoryAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date (GMT%date{%z}) [%thread] %-5level %logger - %message%newline" />
</layout>
</appender>
<root>
<level value="ALL" />
<appender-ref ref="RollingFileAppender" />
</root>
<logger name="DotNetOpenAuth">
<level value="ALL" />
<appender-ref ref="MemoryAppender" />
<appender-ref ref="RollingFileAppender" />
</logger>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.105.2" newVersion="1.0.105.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
<!--
For more information on how to configure Glimpse, please visit http://getglimpse.com/Help/Configuration
or access {your site}/Glimpse.axd for even more details and a Configuration Tool to support you.
-->
<!-- https://gist.github.com/tiwariajay/aa322ef8d9f22ba065a84b295b89b5f9 -->
<tabs>
<ignoredTypes>
<!--<add type="{Namespace.Type, AssemblyName}"/>-->
<add type="Glimpse.AspNet.Tab.Cache, Glimpse.AspNet" />
<add type="Glimpse.AspNet.Tab.Configuration, Glimpse.AspNet" />
<add type="Glimpse.Core.Tab.Timeline, Glimpse.Core" />
<add type="Glimpse.Core.Tab.Trace, Glimpse.Core" />
<add type="Glimpse.AspNet.Tab.Environment, Glimpse.AspNet" />
<add type="Glimpse.AspNet.Tab.Request, Glimpse.AspNet" />
</ignoredTypes>
</tabs>
</glimpse>
</configuration>