The transmission of tokens to protected resources implies that the latters are receptive to tokens of any origin. This presents an opportunity for an attacker (a foreign application) to exploit a compromised or stolen token.
Once more, the analysis reveals that we are only able to ensure data security in the case of the "Authorization Code" flow.
Consideration about the security of token transmission to resource servers (RS)
The proposed RFC 6749 standard is quite clear on the need to (…)
Un module utilitaire pour :
– décoder un JWT,
– vérifier sa signature (HMAC ou RSA),
– protèger contre les attaques par timing,
– lèver des exceptions explicites,
– valider les claims pour garantir que le token est encore valable et destiné au service.
C’est une implémentation qui évite (…)
OpenID Connect OAuth Server dédié
Plus de sécurité et de confidentialité avec un serveur d’authentification indépendant