Giter VIP home page Giter VIP logo

aduneoclientfedid's People

Contributors

gilles-pozniak-aduneo avatar hnaduneo avatar marcpham-aduneo avatar n0sys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

aduneoclientfedid's Issues

Ajouter "Access Token Exchange"

ClientFedID propose actuellement d’échanger l’ID Token mais Keycloak n’a pas l’air d’apprécier cette option car il n’accepte qu’un access token en entrée :

Token exchange failed: http service error: status code 400, {"error":"invalid_token","error_description":"Invalid token type, must be access token"}

Problème de déchiffrement en cas d'activation Signature + Chiffrement de l'assertion SAML

Bonjour,

Dans Forgerock AM, on a la possibilité d'activer à la fois le chiffrement et la signature sur une assertion pour un SP :

image

En configurant clientFed ID en tant que SP et Forgerock AM en tant qu'IDP et en activant l'option Assertion Encryption pour le SP dans Forgerock AM, on a le flux suivant :

  • Log In sur ClientFedID avec la configuration suivante :

image

  • Send to IDP --> Renvoi bien vers la page d'authentification de Forgerock

  • Authentification d'un utilisateurs --> Renvoi sur le clientFedID

  • Au retour sur clientFedID on a un affichage Failed To decrypt :

image

Le certificat pour le chiffrement et la signature est le même dans les métadonnées de Forgerock AM et clientFedID. (version 3 SHA 256, RSA 4096 bits)

La configuration côté ClientFedID ne peut contenir qu'un seul certificat pour l'IDP :

image

Et dans la configuration en tant que SP, il y a les configurations suivantes :

image

Préremplir la valeur du champ "Secret" dans Exchange ID Token

Suite à une authentification OIDC, on peut enchainer avec un Token Exchange. Après avoir cliqué sur Exchange ID Token, on a un formulaire prérempli et une requête prête à être envoyée mais qui ne fonctionnera pas car le champ Secret est vide

Enlever les caractères invisibles à la fin de Subject Token

Quand on colle la valeur de l’access token pour userinfo, ça peut potentiellement rajouter un espace ou une tabulation à la fin du champ Subject Token. Et lorsqu’on exécute la requête sans retirer ces caractères à la fin du champ, Keycloak refuse la requête :

Token exchange failed: http service error: status code 400, {"error":"invalid_token","error_description":"Invalid token"}

Ref : mail outlook

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.