Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite handling of parallel refresh token grant requests
- temporarily cache the results of the refresh token grant for other (almost) parallel callers - fixes handing on the same server, and improves clustered handling through a best-effort distributed cached lock - improves handling of non-rollover refresh tokens since it avoids unnecessary repeated calls to the token endpoint, unnecessary token issuance and possibly corruption because different tokens "live" temporarily in the same (conceptual) session in parallel before the session is stored (and the last one wins) Signed-off-by: Hans Zandbelt <[email protected]>
- Loading branch information