IRequest.GenerateNewSessionCookies no longer exists after upgrade

Tried to update to 5.10 today, and a breaking change was introduced that I’m not sure how to fix. The method GenerateNewSessionCookies on IRequest no longer exists. I was calling it as part of AuthUserSession.OnCreated, to fix a problem I have with Okta auth.

public class DVAuthUserSession : AuthUserSession
    public int SomeProperty { get; set; }

    public override void OnCreated(IRequest httpReq)

It’s been async-ified as part of the async upgrade which is now called GenerateNewSessionCookiesAsync().

If you need the previous sync implementation you should be able to copy the extension method impl into your project: