AspNetCore - change cookie name when using Google Authentication
<p>In ASP.NET 5, MVC 6, I was able to change the name of the external authentication cookie in the options - but that seems to be removed from the new providers in <code>AspNetCore.Identity</code> <code>RC2</code> libraries.</p>

<p>I've got this setup;</p>

<pre><code>class Startup {
   ...
   public void ConfigureServices(IServiceCollection services){
      services.AddIdentity&lt;Member, Role&gt; ... // identity wired up
   }

   public void Configure(IApplicationBuilder app, ILoggerFactory logger) {
      // .. other wiring
    app
        .UseIdentity()
        .UseGoogleAuthentication
        (new GoogleOptions {
            ClientId = Constants.Google.Client,
            ClientSecret = Constants.Google.Secret,
            Scope = {"email", "profile"}
        });

    app.UseMvc(routes =&gt; {
        routes.MapRoute(
            name: "default",
            template: "{controller=Home}/{action=Index}/{id?}");
         });
    }
}
</code></pre>

<p>There used to be an <code>AuthenticationType</code> property that I could set to a <code>string</code> and it would control the cookie name; But that's gone.</p>

<p>I read other posts that said to try <code>SignInScheme</code> and <code>AuthenticationScheme</code> - and I did, but that would start giving me an error that there was <code>No Provider to Handle this Scheme</code>.</p>

<p>Is there anything I can do for it?</p>