Microsoft Recommendations on best practices for validating JWT.
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 25/100
- Type d'issue
- Documentation
- Clarté
- À clarifier
- Activité
- À l'abandon
- Domaine
- authentication
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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 ?
- Langage dominant
- Python
- Étoiles
- 971
- Forks
- 223
- Merge moyen
- 13 h 48 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de AzureAD/microsoft-authentication-library-for-python
-
needs attention untriaged
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
AzureAD/microsoft-authentication-library-for-python#973 · 1 commentaire ·
-
AzureSDK bug P1
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
-
http_client docstring does not say that timeout, verify and proxies only configure the default sessionPeut-être pris @HardMax71 l’a pris il y a 40 jours. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 25/100
-
[Bug] The built-in retry never retries the token POST: HTTPAdapter(max_retries=1) keeps urllib3's default allowed_methodsPeut-être pris @HardMax71 l’a pris il y a 46 jours. Ouvertebug untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 35/100
AzureAD/microsoft-authentication-library-for-python#957 · 3 commentaires ·
-
public-client untriaged
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
Toutes les issues de AzureAD/microsoft-authentication-library-for-python
Issues similaires
-
[Bug] Unit tests reach real Bedrock call paths without patching the modelPeut-être pris @proton0210 l’a pris aujourd’hui. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
aws-samples/sample-aws-genai-db-modernizer#1318 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
pyarrow-25.0.1-cp310-cp310-manylinux_2_28_x86_64.whl: 1 vulnerabilities (highest severity is: 5.3)OuverteMend: dependency security vulnerability
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
capitalone/locopy#394 ·
-
[Bug] Unhandled ValueError terminates watchdog thread when GISRC value contains multiple colonsOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextOuvertebug javascript
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
ietf-tools/datatracker#11922 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour