We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fbde7c + 1b69cfc commit 5eccccbCopy full SHA for 5eccccb
TaskWebApp/App_Start/Startup.Auth.cs
@@ -49,6 +49,9 @@ public partial class Startup
49
*/
50
public void ConfigureAuth(IAppBuilder app)
51
{
52
+ // Required for Azure webapps, as by default they force TLS 1.2 and this project attempts 1.0
53
+ ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
54
+
55
app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType);
56
57
app.UseCookieAuthentication(new CookieAuthenticationOptions());
0 commit comments