Refresh tokens using owin middleware and IdentityServer v3
问题 I've recently setup IdentityServer v3 and its running like a dream, however I'm having troubles with the OWIN middleware. I would like to use the hybrid flow so I can refresh tokens in the backend without the user having to redirect back to the IdentityServer to get a new access token every 5 minutes (which is also odd as its set to have a lifetime of 1 hour on the server). I'm using the following config in startup and I'm getting the tokens fine, but it never seems to try and refresh the