Copied to clipboard

Flag this post as spam?

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


  • Mahender Singh 39 posts 171 karma points
    May 20, 2022 @ 11:24
    Mahender Singh
    0

    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.

  • Peter van den Dungen 66 posts 365 karma points
    May 21, 2022 @ 17:04
    Peter van den Dungen
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft