Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Decouple Login service

Aperta
#360 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@zakriya057 ci sta già lavorando.

Dal 23/12/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
Python
Stelle
0
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ClockGU/clock-backend

Tutte le issue di ClockGU/clock-backend

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.