Importing components
After installation, you can import the Sign and Register components into your project as follows:
Sign component
To import the Sign component:
Register Component
To import the Register component:
onSuccess: A callback function that is invoked when the sign-in process is successful. onError: A callback function that is invoked in case of an error during the sign-in process. Register Component Similarly, the Register component can be used to embed a registration form within your DApp:
onSuccess: A callback function that is called when the registration is successful. onError: A callback function that is called if there is an error during the registration process. Documentation For detailed documentation on all features and components provided by OneSign SDK, including advanced configurations and examples, please visit our official documentation.
Last updated