Copied to clipboard

Flag this post as spam?

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


  • Alex Perotti 53 posts 94 karma points
    Feb 28, 2015 @ 09:14
    Alex Perotti
    0

    Working with members and oAuth (umbraco v7.1)

    Hi everyone,

    I'm developing a registration/login process with members and I would like to integrate it with oAuth services like facebook.

    I got several troubles with the application design.

    The process is something like that:

    Register (umbraco):

    standard form

    Register (facebook)

    standard form partially prefilled, access token saved in a member property


    Login (standard)

    by form/cookie

    Login (facebook)

    here it comes the trouble:

    I don't know how to search a member by a property (the token). Also I was not able to find a method to login a user without the password with the new api.

    As last, I don't know what to do if the token changes.

    Thank you for any help

  • Kevin Jump 2327 posts 14813 karma points MVP 8x c-trib
    Mar 02, 2015 @ 18:00
    Kevin Jump
    0

    Hi, 

    I think some people have been looking at getting the Microsoft OWIN authentication working with umbraco, there is some code on github (https://github.com/Shazwazza/UmbracoIdentity)- but i've not tried it myself, this handles OAuth IDs, so things like facebook, and google are a lot easier to manage, it might help.

     

  • Alex Perotti 53 posts 94 karma points
    Mar 02, 2015 @ 18:01
    Alex Perotti
    0

    Thank you, I'll check it out!

  • Governor Technology 146 posts 551 karma points
    Mar 12, 2015 @ 14:21
    Governor Technology
    0

    Hi Alex

    Not sure if this might help, but for uShare I've used DotNetOpenAuth to allow a backoffice user to login with OAuth to Facebook and couple of others. It's not exactly the same scenario but you might be able to get some hints with the OAuth stuff by looking at the source code here.

    Rigardt

Please Sign in or register to post replies

Write your reply to:

Draft