Authenticate using a Magic Link
Last updated
Last updated
The magic link is a passwordless sign-up and login option that sends a unique link to your email inbox, which you can use to get into your third-party application.
Use the generateMagicLink
mutation to generate this link to be later used to send to a user's email.
Take into consideration that the link will last 24 hours only. Afterward, the link will no longer be valid.
In order to have the magic link generated, third-party users must have the following information in their databases:
firebase_deep_link
android_package_name
or
ios_bundle_id
The following example returns a magic link based on a user's email provided in the query variable.
POST
https://production.suggestic.com/api/v1/auth/send-magic-link
Use this REST method to request a magic link email.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Argument
Type
Description
email
Use this as reference only.
Argument
Type
Description
success
Boolean
True if the magic link has been generated successfully. Otherwise it returns False
message
String
Description of the result
magicLink
String
Link which will be used to send an email.
Content-Type*
String
application/json
Suggestic-Partner
String
email*
String
User email.
client_id*
String