New access token already expired #438
Replies: 2 comments 7 replies
-
|
Can you explain a bit more how this setup is designed? For example, how the WCF service is retrieving the access token? What I can already say, is that the BFF will refresh access tokens for remote APIs when you're accessing them through the BFF, provided that the BFF has access to the |
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/orgs/DuendeSoftware/discussions/460 The qstn still stands |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We're using IdentityServer 7.2.3 (communicating with EntraID) and BFF 3.0.0. As part of a lift and shift operation we're using WCF for the communication between a .net 9 based back-end and a .net 4.6.* based back-end. We've successfully implemented token based authentication for this scenario. However, when the client requests data from the 4.6.* based backend (via the BFF and the .net 9 based back-end) the token passed to the old back-end fails validation because it has already expired. E.g. last Monday we discovered that the token received had its expiry date set to Friday 19th of December. This after the client logged in via the BFF-IdSrv-EntraId path and potentially should get a new cookie which I assume forces the BFF to fetch a new access token from our IdSrvr instance.
Can anyone enlighten me to why this happens and what we can do about it to ensure that the token is valid?
TIA
--norgie
Beta Was this translation helpful? Give feedback.
All reactions