From e82baf9fabb4a9e34d2db30d99b21e647af333a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Wed, 22 Feb 2017 12:17:07 +0100 Subject: [PATCH] React to API changes in aspnet-contrib/AspNet.Security.OAuth.Extensions https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions/commit/ca2c9ff06c2d2f28ed1032d7867da0376ddef31a --- samples/Mvc.Server/Startup.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/Mvc.Server/Startup.cs b/samples/Mvc.Server/Startup.cs index dd79e165..708e754f 100644 --- a/samples/Mvc.Server/Startup.cs +++ b/samples/Mvc.Server/Startup.cs @@ -100,12 +100,11 @@ namespace Mvc.Server // // branch.UseOAuthIntrospection(options => // { - // options.AutomaticAuthenticate = true; - // options.AutomaticChallenge = true; - // options.Authority = "http://localhost:54540/"; + // options.Authority = new Uri("http://localhost:54540/"); // options.Audiences.Add("resource_server"); // options.ClientId = "resource_server"; // options.ClientSecret = "875sqd4s5d748z78z7ds1ff8zz8814ff88ed8ea4z4zzd"; + // options.RequireHttpsMetadata = false; // }); });