Unexpected access token type: bearer - should be one of 'DPoP' or 'Bearer'' #280
-
I use dex combined with BFF project, when I was in BFF project after the refresh token using the following methods: var parameters = new UserTokenRequestParameters { ForceRenewal = true };
var token = await IUserTokenManagementService.GetAccessTokenAsync(HttpContext.User, parameters); An error message will appear: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Related: dexidp/dex#4237 |
Beta Was this translation helpful? Give feedback.
-
@qq1176914912 Which version of BFF / Duende.AccessTokenManagement are you using? Also would you have any logs from your Dex server? And lastly, which federated provider are you using with this token? |
Beta Was this translation helpful? Give feedback.
In BFF v4 (currently in prerelease version), this issue has been solved. A release candidate should be out very soon.
An upgrade guide is at https://docs.duendesoftware.com/bff/upgrading/bff-v3-to-v4/