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

Поменять на хранение Cookie, вместо хранения логина и пароля в "сыром", пусть даже и зашифрованном виде. #71

Open
AlexEreh opened this issue May 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@AlexEreh
Copy link
Owner

AlexEreh commented May 2, 2024

Так как с сервера после логина прилетает ответ с заголовком Set-Cookie, в котором есть Base64 строка (не факт, что JWT), то можно хранить именно её, а не логин + пароль, отчего можно каждый раз не входить в аккаунт.

image

@AlexEreh AlexEreh added bug Something isn't working good first issue Good for newcomers labels May 2, 2024
@AlexEreh AlexEreh self-assigned this May 2, 2024
@AlexEreh
Copy link
Owner Author

AlexEreh commented May 2, 2024

Осталось, правда, понять, почему после КАЖДОГО запроса приходит заголовок Set-Cookie.

@AlexEreh AlexEreh pinned this issue May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant