Open zhaohuabing opened 11 months ago
I suspect it's caused by the sync lag between the redis master and redis slaves. A few retries would solve this.
@zhaohuabing you might want to have a look at an alternative implementation which is server side stateless, which means it can scale with the amount of replicas without a need for redis/db as a session store. https://github.com/shelmangroup/envoy-oidc-authserver
Sometimes failed to log in the first time, but succeeded after a refresh.
user navigates to url -> redirected to OIDC provider -> login -> redirected back to original service -> user sees "Oops, your session has expired. Please try again."
in the browser -> user can refresh the page which fixes the issue and user is signed in
log from this event: