I've been trying to make this work for many hours but I still haven't been able to get email verification working.
I want to be able to send an email to the user pointing to a page on the frontend (React) where they can click a "verify" button and this will send a POST request to the server to verify the email.
This last part is working, I tested sending a POST request to: /api/v1/auth/register/verify-email/ with the verification key and the email was verified correctly.
I just need to be able to send that email that contains a link pointing to the Frontend verification url.
I also read the FAQ of the documentation where it says "You should override this view/url to handle it in your API client somehow and then, send post to /verify-email/ endpoint with proper key." but I'm confused about how to do this.
Currently when I create a new user I get this error:
_django.urls.exceptions.NoReverseMatch: Reverse for 'account_confirm_email' with arguments '('Mzc:1k37tD:vMJNfdAhauMQNlajyLPwSYDkbBY',)' not found._
I've been trying to make this work for many hours but I still haven't been able to get email verification working.
I want to be able to send an email to the user pointing to a page on the frontend (React) where they can click a "verify" button and this will send a POST request to the server to verify the email. This last part is working, I tested sending a POST request to: /api/v1/auth/register/verify-email/ with the verification key and the email was verified correctly.
I just need to be able to send that email that contains a link pointing to the Frontend verification url.
I also read the FAQ of the documentation where it says "You should override this view/url to handle it in your API client somehow and then, send post to /verify-email/ endpoint with proper key." but I'm confused about how to do this.
Currently when I create a new user I get this error: _django.urls.exceptions.NoReverseMatch: Reverse for 'account_confirm_email' with arguments '('Mzc:1k37tD:vMJNfdAhauMQNlajyLPwSYDkbBY',)' not found._
In my settings.py:
In my main/urls.py:
In my users/urls.py: