How to integrate external API authentication with Memberstack during user signup like Google OAuth?

Post author
Graham Ferguson

In Memberstack what is the best way to have a button launch an eternal api post to an external provider in the same way is done for Google oAuth etc as part of sign up? I just created a new test user in Memberstack for example signed up via Google - where is the auth token stored? Is this where Metadata is intended to be used or could it be solved by following https://docs.memberstack.com/hc/en-us/articles/9188250184603-Social-Auth-Buttons-in-Profile-Forms

Anyone got any ideas?

Comments

3 comments

  • Comment author
    Julian Galluzzo

    What are you trying to do? For a lot of use cases, you can use the Memberstack webhooks feature

    0
  • Comment author
    Graham Ferguson

    I am building an app that can post social media content on behalf of the user. For Facebook as an example using their APIs a user will ‘connect’ which will give the app a token and I can then use APIs to post on their behalf - https://developers.facebook.com/docs/facebook-login/guides/access-tokens/

    0
  • Comment author
    Julian Galluzzo

    I haven't done this before and it's definitely complicated, that being said, I have done some research into it before

    Basically, the call needs to include your facebook app secret, which should not be exposed by adding it in webflow - I think the only way to do this would be to work with serverless functions, since you dont have control over your server with Webflow

    If you haven't done this before, I would definitely recommend hiring a dev for this part - for someone who knows what they're doing, i dont think it would be toooo time consuming

    0

Please sign in to leave a comment.