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

Don't Hardcode the bearer Token #33

Open
MutyaSowmya123 opened this issue Nov 6, 2024 · 0 comments · May be fixed by #36
Open

Don't Hardcode the bearer Token #33

MutyaSowmya123 opened this issue Nov 6, 2024 · 0 comments · May be fixed by #36
Assignees
Labels
fixes fixes needed to enables coding practices

Comments

@MutyaSowmya123
Copy link
Collaborator

There are several places in the /classroom interface where the bearer token is hardcoded.
Implement a function that dynamically stores and retrieves the token from the local storage.
You can check for localStorage.get('userToken') and login () if there isn't one.

You can use that function where in the places it's required.

Reference:

@MutyaSowmya123 MutyaSowmya123 added the fixes fixes needed to enables coding practices label Nov 6, 2024
@camilledaugherty camilledaugherty self-assigned this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixes fixes needed to enables coding practices
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants