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.
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.
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.
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
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.
Thank you, I'll check it out!
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
is working on a reply...