gotify / gotify/android

2FA support

Aperta
#232 8 commenti 5 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
1.5k
Fork
217
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In a ticket for gotify server it was stated that 2FA should be added via external services: https://github.com/gotify/server/issues/461

This works well for the WebUI (I'm personally using traefik + authelia for 2FA in front of gotify).

Unfortunately this is a problem for the Android client application, which is not able to follow the redirect workflow imposed by 2FA.
This seems to be a general problem I've seen for many other selfhosted projects that provide a WebUI + client - when adding external 2FA, usually the client application breaks.

So it seems there are 3 "solutions" to this dilemma:

* Try to make the client "redirect / 2FA aware" (is this even possible in a good way? since all 2FA stuff happens on the initial http requests and therefore "outside" the API level)
* Re-think the decision not to have "native" 2FA built into the server (which I guess would be easier to follow/implement client-side)
* "Just accept" / maybe somewhere document that 2FA + Client app is not supported

Any thoughts on this / am I missing something?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia leggendo l’issue 461 di gotify/server collegata e seguendo come il client Android gestisce la richiesta HTTP iniziale e i reindirizzamenti. Confronta le tre opzioni descritte: supporto ai reindirizzamenti nel client, 2FA nativa lato server oppure documentare la limitazione. Il lavoro è completato quando è stata scelta una direzione ed è stata definita chiaramente una modifica al client o alla documentazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, java
Ambito
authentication, mobile
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.