I have my app build with Django Rest and Angular. I am using django-allauth and django-rest-auth modules for handling Users data.
Upon registration I am sending verification key to the email address of the user. The link that the user recieves is in the following format: mydomain/api/rest-auth/registration/verify-email/:key
I am aware that django-rest-auth provides /registration/verify-email endpoint but am not sure how to get the verification code from the email message in the Angular controller and post it to the endpoint.
I guess this is more a question of design.
Thanks!