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

Front end things to do #36

Open
10 tasks
rr-phillips opened this issue May 8, 2021 · 3 comments
Open
10 tasks

Front end things to do #36

rr-phillips opened this issue May 8, 2021 · 3 comments
Labels
frontend frontend issues Medium task/issue priority UX/UI Has to do with the user experience or interface

Comments

@rr-phillips
Copy link
Collaborator

rr-phillips commented May 8, 2021

  • profile page
  • get links working
  • footer
  • terms of service
  • privacy policy
  • add conditional to logged in users
  • login btn changes to logout
  • register btn goes away
  • profile link gets added (not displayed until someone is logged in)
  • my groups link gets added (not displayed until someone is logged in)
@rr-phillips rr-phillips added Medium task/issue priority UX/UI Has to do with the user experience or interface frontend frontend issues labels May 8, 2021
@rr-phillips rr-phillips added this to To Do in Web App Tasks via automation May 8, 2021
@tomqle
Copy link

tomqle commented Jun 18, 2021

I am trying to build the frontend's login behavior working (logging in removes the Login and Register buttons and shows Profile and Logout buttons instead). However, I am not sure how the authentication works with the current API. The below screenshot is from settings.py and it is commented out.

image

Was the plan to set up JWT authentication? I can go ahead and proceed with setting this up. Alternatively, we can also use DRF's TokenAuthentication which is simpler to set up but not as secure. That way we will be handle log ins and log outs. As far as I can tell, tokens are not being saved anywhere when a user logs in so it doesn't seem like any users can be authenticated at the moment.

@zrmeier
Copy link
Collaborator

zrmeier commented Jun 18, 2021 via email

@zrmeier
Copy link
Collaborator

zrmeier commented Jun 20, 2021

So I have a couple endpoints that set up at the following sites
After you activate the environment and get the server running here are the endpoints we have at the current moment:

When you create a user you receive a token, but then you can also login. And I know its getting saved cause when I go to the

image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend frontend issues Medium task/issue priority UX/UI Has to do with the user experience or interface
Projects
Development

No branches or pull requests

3 participants