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

Fix code scanning alert - Clear text storage of sensitive information #44

Open
1 task
apstanisic opened this issue Mar 3, 2023 · 1 comment
Open
1 task

Comments

@apstanisic
Copy link
Owner

Tracking issue for:

@apstanisic
Copy link
Owner Author

apstanisic commented Mar 3, 2023

This is not an issue, since I'm never returning raw token. In createSession, I'm creating token, encrypting it, storing raw and returning only encrypted version. I also ensured that refresh token is not returned when showing sessions to user.
There is no point in encrypting same token twice to satisfy this alert

TODO Add refreshToken property as canRead=false, so it's even harder to access it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant