Closed bhargavmullakuru closed 3 months ago
hi @bhargavmullakuru , thank you for the issue. I'am not sure to understand why you need to devid it by 2 ? Do you have more details.
Are you using dpop inside service worker or whithout service worker?
@guillaume-chervet . I'm not using service worker in my configuration. From another gateway end they are checking dpop ath divide by 2.
Hi @bhargavmullakuru , we may can add an extras parameter so you will be able to override defaut properties by your own one.
@guillaume-chervet .. any update on this fix for new extras parameter ? 😁
I will try to do it today @bhargavmullakuru :)
Okay . Thanks for your time @guillaume-chervet
I published v7.20.0-alpha.1393, but I'am not sure it will resolve your issue.
I pushed on main by mistake : https://github.com/AxaFrance/oidc-client/commit/c7793c9913128dbb82a60dff11261ca5b4749f0c But it is an alpha.
@guillaume-chervet Tried using that alpha, it was not accepting 4th parm.
Sorry @bhargavmullakuru , I have created/pulished a new alpha => https://github.com/AxaFrance/oidc-client/pull/1325
Any news @bhargavmullakuru ?
It was working with that alpha version and i'm able to pass custom keys. Let me know once it's merged to main release version. Thanks for your help @guillaume-chervet
Thank you for your feedback @bhargavmullakuru , I released it :)
Thanks @guillaume-chervet
Issue and Steps to Reproduce
@guillaume-chervet As per my server gateway, they need ath value divide by 2 in dpop jwt payload. if possible, can we have a extra param something like makeAthHalfInJWT divide by 2 (half) in configuration itself like below. From this code...
to...
If you want me to send custom ath value like below, i can send it as extra param to generateDemonstrationOfProofOfPossessionAsync method.
await oidc.generateDemonstrationOfProofOfPossessionAsync( accessToken, urlSplit[0], method, ath );
Thanks in Advance.
Versions
"@axa-fr/react-oidc": "^7.14.1"
Screenshots
Expected
Actual
Additional Details