gr2m / gr2m/github-api-wishlist
Invalidate a token by authenticating using the same token
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 7
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
This is something that I ran into several times.
We have the [`DELETE /applications/{client_id}/token`](https://docs.github.com/en/rest/reference/apps#delete-an-app-token) endpoint which permits to delete a token today. But it requires the OAuth's `client_id` and `client_secret` for authentication. I don't think that should be necessary. It's a security concern that I cannot create an OAuth token, use it for a task, and then remove it, unless the owner of the OAuth provides a backend architecture which allows to invalidate my token without exposing the `client_secret`
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par l’endpoint documenté DELETE /applications/{client_id}/token lié dans l’issue et examinez ses exigences actuelles en matière d’authentification. Comparez ces exigences avec le flux d’authentification proposé utilisant le même token. Le travail sera considéré comme terminé lorsqu’une modification d’API décidée et documentée permettra d’invalider un token sans exposer le secret du client OAuth.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github
- Domaine
- api, authentication, security
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 25/100