Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Decouple Login service

Đang mở
#360 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@zakriya057 đang làm issue này rồi.

Từ ngày 23/12/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement feature proposal medium priority

The login logic no longer just used by CLOCK but also the Supervisor Front End. In the future a third project will need to use it.
Since this reflects a more general use case than the initally intended one it should no longer be part of the clock-backend project. We will not change the Database table User for this. The table will stay inside the project.

  • Create new project gu-hr-login-backend
  • Setup a FastApi project
    • Access the clock-backend database to manage the User table
    • Setup CAS
      • figure out how to login via CAS since we can no longer use django-allauth
    • Setup JSON Web Token authentication
      • we can no longer use djoser
      • Since login is handled by the new project figure out how the clock-backend authenticates JWT
    • Implement a Configuration to allow authentication for multiple, defined, projects (CLOCK, Supervisor Frontend, New Projects)
  • Callback functionality for Userdeletion: A users data should be deleted if he "delets his/her acoount" in a Service
  • Documentation for how the service works
  • Documention for how to implement the login into the Frontend
  • Delete no longer needed code from clock-backend
Ngôn ngữ chính
Python
Star
0
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ClockGU/clock-backend

Tất cả issue của ClockGU/clock-backend

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.