Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Using identity, does anyone have sample code for creating my own dll to have single sign on (SSO) like twitter and facebook

$
0
0

Using identity, the following is in the startup.auth.cs file to use SSO for twitter, Facebook, etc.   How do i create my own for my own domains so they have single sign on across them.  There is a dll in bin that is the key. Any sample to create your own?

app.UseTwoFactorRememberBrowserCookie(DefaultAuthenticationTypes.TwoFactorRememberBrowserCookie);

            // Uncomment the following lines to enable logging in with third party login providers
            //  app.UseMicrosoftAccountAuthentication(
            //    clientId: "",
            //   clientSecret: "");

            //app.UseTwitterAuthentication(
            //   consumerKey: "",
            //   consumerSecret: "");

            //app.UseFacebookAuthentication(
            //   appId: "",
            //   appSecret: "");

            //app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions()
            //{
            //    ClientId = "",
            //    ClientSecret = ""
            //});


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>