Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Giorgos 6 posts 76 karma points
    Jan 19, 2016 @ 13:30

    Umbraco Identity for log in using Google or Facebook

    I installed the UmbracoIdentity package (Install-Package UmbracoIdentity) and the extensions for google and facebook in order to be able to login using facebook or google. I used the Account.cshtml which included in the package in order to login using the new package that I installed. In the Startup.Auth.cs that automatically created when I installed the package I inserted the following lines in order to enable the Facebook Authentication.

                 appId: "296106450571102",
                 appSecret: "bde97767dee96e743cbc364bbb39852d");

    The problem is that when I display the contents on the browser the equivalent button does not appear on the screen. When I do it on a classic ASP.NET MVC 5 application it works fine. The button appears on the screen. Can someone help me and tell me if I have to do something extra in order to make it work.

    I spent the entire day trying to find a tutorial for beginners in order to make it work but it was not successful.

  • Michaela Ivanova 12 posts 104 karma points
    Oct 10, 2016 @ 09:19
    Michaela Ivanova

    Try this:

     app.UseFacebookAuthentication(new FacebookAuthenticationOptions
                AppId = "yourAppId",
                AppSecret = "yourAppSecret",
                CallbackPath = new PathString("/umbraco/surface/UmbracoIdentityAccount/ExternalLoginConfirmation")
  • Biagio Paruolo 1550 posts 1755 karma points c-trib
    Jan 19, 2017 @ 13:45
    Biagio Paruolo

    Works for "login" on front end web site?

  • Michaela Ivanova 12 posts 104 karma points
    Jan 20, 2017 @ 08:11
    Michaela Ivanova

    Yes, it works for me.

  • Micha Somers 134 posts 597 karma points
    Jan 19, 2017 @ 18:39
    Micha Somers

    Hopefully you did not publish your real appsecret here ...

    In case you did, make sure you edit your post and provide some dummy text.

    See: (Chapter 8: Protect your App Secret)

    Kind regards, Micha

Please Sign in or register to post replies

Write your reply to: