-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Detect expired tokens and attempt token refresh as in the OpenIddict sample app: https://github.com/openiddict/openiddict-samples/pull/332/files and https://github.com/openiddict/openiddict-core/pull/2331/files (these pull requests refer to the issues openiddict/openiddict-core#2157 and openiddict/openiddict-core#2330).
In particular, see https://github.com/openiddict/openiddict-samples/blob/dev/samples/Dantooine/Dantooine.WebAssembly.Server/Startup.cs#L153-L222 and https://github.com/openiddict/openiddict-samples/blob/dev/samples/Dantooine/Dantooine.WebAssembly.Server/Helpers/TokenRefreshingDelegatingHandler.cs
Implementing these changes should also fix the issue of automatically getting logged-out after a few minutes when using the frontend.