Login With GoodDollar
An SDK that allows the user to share his details
Last updated
Was this helpful?
An SDK that allows the user to share his details
Last updated
Was this helpful?
This is the gooddollar client sdk for integrating login into gooddollar in your website
to test the functionality
createLoginLink to generate login link to redirect to the gooddollar wallet
LoginButton to place a login button on your page to integrate login with gooddollar on your website
parseLoginResponse to verify if the login was successful and verified
useLogin is a hook that can be used instead of button to integrate login with gooddollar on your website
redirectLink
gooddollar wallet link to redirect to
Optional
String
v
name of the vendor
Mandatory
String
web
web link for vendor
Mandatory
String
id
wallet address for vendor
Mandatory
String
r
array of information ex.['mobile','location']
Mandatory
array
cbu
Callback URL
provide either rdu or cbu
String
rbu
Redirect URL
provide either rdu or cbu
String
gooddollarlink
wallet link returned by createLoginLink
Mandatory
String
cbu
Callback URL
provide either rdu or cbu
String
rbu
Redirect URL
provide either rdu or cbu
String
onLoginCallback
Function that has the data returned by wallet as the first argument
Mandatory
Function
gooddollarlink
wallet link returned by createLoginLink
Mandatory
String
cbu
Callback URL
provide either rdu or cbu
String
rbu
Redirect URL
provide either rdu or cbu
String
onLoginCallback
Function that has the data returned by wallet as the first argument
Mandatory
Function