Magic Link
Integrate magic.link's data into Safary
Last updated
Integrate magic.link's data into Safary
Last updated
To get users' data from your magic.link usage, we only need magic.link's Secret Key.
Note that the Secret Key only allows us to retrieve data or logout your users (which obviously we will not do) — have a look at their docs here to see the available methods. Therefore, with only the Secret Key we cannot alter your magic.link data.
Go to your magic.link dashboard at https://dashboard.magic.link/ and enter your desired app's Home page.
At the bottom of the Home page you will find the API Keys section like below:
As informed above, we only need the Secret Key (not the Publishable).
In Safary's dashboard, go to:
Settings > Integrations > Magic Link
Then simply paste the Secret Key copied and hit "Sync Magic".
Note that with this key inserted, we will be able to query the wallets that from now on connect through your website using magic.link to obtain the information they provided to magic.link (like socials and email).