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

Actual sessions #55

Open
nic-hartley opened this issue Dec 1, 2018 · 0 comments
Open

Actual sessions #55

nic-hartley opened this issue Dec 1, 2018 · 0 comments
Labels
feature Something should be added up for grabs Anyone is free to take this and implement it
Milestone

Comments

@nic-hartley
Copy link
Member

Goal

Instead of using the username as the token, we should implement actual auth tokens.

Description

To auth, you currently just use the username to auth as for your Authentication Bearer token value. We should add something that maps (randomly generated) tokens to the actual users.

This will probably be a database table, but as long as you can't generate a token without sending a request to the backend with the correct password, the actual implementation doesn't matter much.

Additional notes

This can be done even before #18 - we only need to map the session tokens to a user somehow, and that can be changed once we have the actual users table for integration.

@nic-hartley nic-hartley added feature Something should be added up for grabs Anyone is free to take this and implement it labels Dec 1, 2018
@nic-hartley nic-hartley added this to the Beta milestone Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something should be added up for grabs Anyone is free to take this and implement it
Projects
None yet
Development

No branches or pull requests

1 participant