DuendeSoftware / Samples

Samples for our Products
Other
225 stars 269 forks source link

How to set identity token and access token timeout in run time #127

Closed vrrenga123 closed 1 year ago

vrrenga123 commented 1 year ago

I am using Identity Server 6 with my ASP.NET Core. It is working fine. I tried to set the Access Token lifetime based on the roles in run time but it always take database configured value, it's not overwriting the run time value

[Img -1] image

[Img -2]

image

I tried to set in both places Login and GetProfileDataAsync but its not working as expected.

Is there any reason for this behavior?

josephdecock commented 1 year ago

Duplicate of https://github.com/DuendeSoftware/Support/issues/731