Microsoft Recommendations on best practices for validating JWT.
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Dokumentation
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Bereich
- authentication
Rechercherichtung
The issue describes validating JWTs for a FastAPI app on Azure App Service using the AAD client credentials flow, but does not name project files or tests. Start by checking the MSAL Python documentation for token validation guidance and whether this library is responsible for validating API access tokens. Done means providing a documented recommendation that answers whether custom JWT verification is needed and points to the appropriate guidance.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
What am I trying to do?
- I have a FAST-API webapp hosted on azure app service. I am trying to secure its endpoints via oAuth2.
- I am using AAD Client Credentials flow.
So far I have been able to get tokens, verify and decode it using the steps mentioned here and secure my endpoints.
However it feels that a lot of code that I have written as part of JWT verification is basically re inventing the wheel.
- Is this the recommended approach/best practice ?
- Does everyone have to write the code to verify JWT tokens and essentially re invent the wheel ?
- Vorherrschende Sprache
- Python
- Sterne
- 971
- Forks
- 223
- Ø Merge
- 13 Std. 48 Min.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus AzureAD/microsoft-authentication-library-for-python
-
needs attention untriaged
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
AzureAD/microsoft-authentication-library-for-python#973 · 2 Kommentare ·
-
AzureSDK bug P1
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
-
http_client docstring does not say that timeout, verify and proxies only configure the default sessionEvtl. vergeben @HardMax71 hat das vor 41 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 25/100
-
[Bug] The built-in retry never retries the token POST: HTTPAdapter(max_retries=1) keeps urllib3's default allowed_methodsEvtl. vergeben @HardMax71 hat das vor 47 Tagen übernommen. Offenbug untriaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
AzureAD/microsoft-authentication-library-for-python#957 · 3 Kommentare ·
-
public-client untriaged
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Alle Issues in AzureAD/microsoft-authentication-library-for-python
Ähnliche Issues
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
yunaremaia/proto-drift#22 ·
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
yunaremaia/memwatch#96 ·
-
bug good first issue
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 91/100
yunaremaia/ci-gate-watch#34 ·
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
yunaremaia/agent-capability-attestation#64 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
yunaremaia/agent-call-graph#43 ·
Maintainer antworten meist innerhalb von 1 Tag