[Archive] If the user chooses to use Apple authentication by web3 auth, how can we get the user's walletAddress

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by githubdiscussions on 10/4/2022.
This content has been migrated from our previous community forum to preserve valuable discussions.


If the user chooses to use Apple authentication by web3 auth, how can we get the user's walletAddress.

Will we have to get them separately after login?



Originally posted by: 21-Hidetaka-Ko

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/673

Hi, You can follow below steps to login with apple and get walletAddress:

  1. Use web3auth sdk.
  2. configure web3auth modal to use only apple login. ref
  3. once user logs in, get user account with getAccounts() method. ref


Originally posted by: rinzler99