Skip to main content

How to access Google OAuth token from Memberstack signup to get user email?

I have google sign up working on my site and I can see the test member after I use it to sign up. Is it possible to access the Google token as part of that process so that I can use it to access the user's email (building an email-related tool)?

I know this can be done with standard web dev but I'm trying to see if there's support within Memberstack.

 

2 comments

  • Duncan from Memberstack
    Duncan from Memberstack

    Hey Orestis Lykouropoulos I don't think we have a way for you to access that token yet... 

    But you can access their email address via the member object. https://developers.memberstack.com/docs/dom-front-end-package

    cc Tyler Bell incase I'm wrong about the access token. 

    0
  • Orestis Lykouropoulos
    Orestis Lykouropoulos OP

    Thanks for the quick response, email alone won't do for this use case unfortunately

    1

Please sign in to leave a comment.

Sitemap