Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Activate new registered users by making API request #83

Closed
codesankalp opened this issue Feb 15, 2021 · 4 comments · Fixed by #99
Closed

Feature: Activate new registered users by making API request #83

codesankalp opened this issue Feb 15, 2021 · 4 comments · Fixed by #99
Assignees
Labels
Category: Coding Changes to code base or refactored code that doesn't fix a bug. Type: Enhancement New feature or request.

Comments

@codesankalp
Copy link
Member

Is your feature request related to a problem? Please describe.

For a complete basic authentication system, we need to activate the newly registered users.
When a newly registered user clicks on the activation link sent to the mail it results in a redirection to the Login Page.

Describe the solution you'd like

Create a new URL in urls.js for activating user which will make a GET request to http://127.0.0.1:8000/api/token_auth/activate/< uidb64 >/< token >.

The email for activating user contains URL in this format:
http://localhost:3000/< uidb64 >/< token >.

So you have to add a Route to this URL also to parse it and make a request to the backend and display the response received from the backend.

Additional context

This issue needs to be solved after solving this issue anitab-org/anitab-forms-backend#81

Estimation

1 hour.

@codesankalp
Copy link
Member Author

@isabelcosta After solving these issues:

  1. Feature: Activate new registered users by making API request #83
  2. Bug: API response for activating users returns 403 Forbidden anitab-forms-backend#81

Registering new users will work perfectly.

Can you add labels to it?

@codesankalp
Copy link
Member Author

I would like to work on this issue @isabelcosta .

@isabelcosta isabelcosta added Category: Coding Changes to code base or refactored code that doesn't fix a bug. Type: Enhancement New feature or request. labels Feb 15, 2021
@codesankalp
Copy link
Member Author

@isabelcosta Can I start working on this as the login feature is not working?

@isabelcosta
Copy link
Member

assigned to you @codesankalp

codesankalp added a commit to codesankalp/anitab-forms-web that referenced this issue Feb 27, 2021
Added code to activate users from email confirmation link.

Fixes anitab-org#83
codesankalp added a commit to codesankalp/anitab-forms-web that referenced this issue Mar 18, 2021
Added code to activate users from email confirmation link.

Fixes anitab-org#83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Coding Changes to code base or refactored code that doesn't fix a bug. Type: Enhancement New feature or request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants