Change MVC Owin provider key
I recently changed my MVC application with
app.UseGoogleAuthentication()
to
app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions(){
ClientId = "xxxxxxxxxxx.apps.googleusercontent.com",
ClientSecret = "xxxxxxxxxxxxxxxxxxxxxxx"});
When I made this change, it changed the vendor key that google returned. For those who are already registered as a new user, there is a way I can transfer the vendor key or tell owin which vendor key to use. I really don't want to accept the changes and manually run an update statement on my database to change the vendor key.
+3
source to share