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

Configureable jwt-device whitelisting #7

Open
OnurYurteri opened this issue Apr 16, 2020 · 0 comments
Open

Configureable jwt-device whitelisting #7

OnurYurteri opened this issue Apr 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@OnurYurteri
Copy link
Owner

When enabled, this feature should:

  • Store user's verified jwt token and device info for whitelisting

Use case:

1. User logs in:
- If there any token assigned to this user with this device-info then token should be returned
- If there's not, further confirmation for this device is required.. (Send pin via email and verify??)

2. User sends request:
- Received token is not exist on user's whitelist -> Not authorized
- Received token exists but device info is different -> Not authorized, verification is pending..
- Received token exists and device info is same -> Authorized

3. User sends request with verification pin
- Device info and token should saved

@OnurYurteri OnurYurteri added the enhancement New feature or request label Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant