Need to Create Custom Member api that support Google and Facebook users
Hi,
I am newbie in Umbraco world and we are using Umbraco 9. We need to create Members via code. Members data will come to via json and these member can be facebook or google. We need to create member based on json.
So could you please help me to, how to achive this fuctionality.
Need to Create Custom Member api that support Google and Facebook users
Hi,
I am newbie in Umbraco world and we are using Umbraco 9. We need to create Members via code. Members data will come to via json and these member can be facebook or google. We need to create member based on json.
So could you please help me to, how to achive this fuctionality.
You need to create all needed member properties, this can be done in Umbraco BO > settings > member types > member.
Then create a custom service and add whatever you need in code: https://www.umbrajobs.com/blog/posts/2021/june/how-to-compose-a-custom-service-in-umbraco-9/
And here is a blog post about creating members in V9 https://poornimanayar.co.uk/blog/member-registration-in-umbraco-9/
In your situation you can skip this blog till you find 'the AccountSurfaceController', there is everything you need to create a member.
Peter
is working on a reply...