Bug #40273
expires_in doit être un entier
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
OpenID Connect
Version cible:
-
Début:
28 février 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
La spec dit :
A.14. "expires_in" Syntax
The "expires_in" element is defined in Sections 4.2.2 and 5.1:
expires-in = 1*DIGIT
et passer un nombre décimal a des conséquences comme côté jenkins :
java.lang.NumberFormatException: For input string: "30.0" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:589) at java.lang.Long.valueOf(Long.java:803) at com.google.api.client.auth.oauth2.TokenResponse.getExpiresInSeconds(TokenResponse.java:124) at com.google.api.client.auth.oauth2.Credential.setFromTokenResponse(Credential.java:542)
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-oidc-always-gives-integer-for-expires_in-values-4027.patch 0001-oidc-always-gives-integer-for-expires_in-values-4027.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
(régression de #35205)
Mis à jour par Thomas Noël il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit fcaea2178490cc43733f26ead725b4d7a811ebe6 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Fri Feb 28 16:07:33 2020 +0100 oidc: always gives integer for expires_in values (#40273)
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
oidc: always gives integer for expires_in values (#40273)