Dedicated Route for Email Verify #7
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Need a dedicated route at
/verify-email
to be able to call the portal api and either use the notification system or a success screen (or error?).Verification code should be prompted in a form if not provided in the uri.
Whats this route for? Not sure what I should add on it @pcfreak30
@ditorodev This is for verifying your account, like a standard email activation. it creates a verification token based on:
Will be able to put a link in the email template, etc.
The usual stuff products do here is to have and endpoint that autovalidates, basically a magic link, once the user signs-up they trigger the validate-email and show a constant banner thats always there until the user goes to their email and click the link, once the link is clicked it is just a session url which validates the email on the backend and redirects to the frontend. i dont see a need to make a view for this, this could be a notification alone which we could trigger thru a custom header
Per discord, this should be a banner that can resend a verification email.
The magic link sent should go to a dedicated route to call the API. it will be auth protected, so, a redirect would need the to query arg to take them back after login (most of this should be in place?).
Done. Use like
/verify?token=<token_here>