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

Аутентификация пользователей #10

Closed
codEnjoyer opened this issue Apr 24, 2024 · 0 comments
Closed

Аутентификация пользователей #10

codEnjoyer opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@codEnjoyer
Copy link
Owner

Чтобы не все руками писать, посмотри на fastapi-login. Используем JWT Bearer токены. Пользователь может быть обычным и суперпользователем. Нужен один эндпоинт (типа /auth/token), который будет требовать логин и пароль, для получения токена. Хеширование пароля обязательно! Удачи!
https://github.com/MushroomMaula/fastapi_login

@codEnjoyer codEnjoyer added the enhancement New feature or request label Apr 24, 2024
@2piCode 2piCode closed this as completed May 11, 2024
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

When branches are created from issues, their pull requests are automatically linked.

2 participants