I am getting a 'Something went wrong, Please Contact Admin' error, What should I do?
This means your API key or hostname is incorrect. Verify the API key for your project, and follow the previous thread if it's a local setup.
What should the 'hostname' be during setup?
If you are doing a local setup, use 'localhost', and if that doesn't work, '127.0.0.1' should do the trick.
How do I change the background colour and border settings on the authentication page?
You can change the button background colour from the developer dashboard under the design tab which also includes more customization. There is currently no option to customise the border, and we are working on more customization options.
Can I get help with integrating using Django?
Here is an example of a sample Django application built using the pip package: Please go through the documentation for integration here: Django-Sawo-Sample
[React] I get the message: TypeError: Cannot read property ‘appendChild’ of null. What should I do to fix this?
You will have to use the useEffect hook.
I did not receive the OTP. Is there an option to resend it in the form?
The OTP resend option automatically becomes available after 2 minutes.
When does the login session timeout?
There is a default session cooldown set for all projects, which can be changed under Dashboard > Advanced Configuration
Where can I find more customization options?
Please check the Advanced Customization page under Dashboard
Is there a way to set colours through hex code?
For now, only RGB input is allowed. You can however use the colour palette provided to do the same
After login, the container persists while disturbing the alignment of other page components? How do I remove it after completing authentication?
We remove the form programmatically after successful login, however, the container created to host the form is not removed, you can just remove it by using the following snippet:
var sawoContainer = document.getElementById("sawo-container");
Is there a logout option? Are the sessions persistent?
The sessions are not persistent. Logging out can be implemented by adjusting the session cooldown under Dashboard > Advanced Configuration
What does SAWO return on successful login and how can I access the same?
SAWO returns a payload after successful login from the user based on the identifier type you are using in your project. For example: