IdentityModel.OidcClient
IdentityModel.OidcClient copied to clipboard
Added Identity Token to TokenRefreshEventArgs
This change allows updating the identity token cached at the client with the latest identity token coming from token renewal.
The motivation for this change is that claims can change during the runtime of the identity client (in my case, it's user claims related to permissions).
The alternative approach would be to call /userinfo
endpoint, which we consider an avoidable overhead.
Thanks will have a look after holidays.
Thanks will have a look after holidays.
Thank you for taking this into consideration @leastprivilege
Enjoy your holidays ✌️
Hey @leastprivilege, this is just a friendly reminder for you to check this PR.
I wanted to avoid having to fork the repo for such a small tweak.
Thank you in advance for your consideration!
Didn't mean to remove @brockallen from the reviewers. Not sure how that happened and I don't have permission to add him back
@leastprivilege thanks for the review. Can you release a new version with those changes please?