197g / 197g/oxide-auth

[Question] refresh flow accept client_id in body where access flow doesn't

Aperta
#91 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
783
Fork
102
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,

follow up to my false alarm on #89 , I understood that when using Basic authentication, access flow doesn't accept `client_id` in the body (if present, it overrides the basic auth).

But in the case of refresh flow, there isn't the same kind of "body authentication" management.

Is that normal?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Examine the refresh flow implementation in the codebase, likely in modules handling OAuth2 token endpoints. Compare with the access flow to understand why client_id is handled differently. Look for tests related to refresh token grants to see the expected behavior. Determine if the discrepancy is intentional or a bug, and propose a fix aligning both flows.

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

Valutazione

Stack tecnologico
rust
Ambito
api, authentication, backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.