The OAuth 2.0 specifications allow the addition of new claims to the payload of the JWT token. This article shows how this is done within the framework of OAuthSD.
Use case
It should be ensured that the end-user is well able to access protected resources, whether personal data or the application owns the data. We also want to be able to control the data transmitted by a protected resource to an application based on the rights of the end user in this application.
Administrators as well (…)
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