Hi Andy - I actually just fixed that issue about an hour ago - so updating to the latest version of Discourse should help
https://meta.discourse.org/t/openid-connect-authentication-plugin/103632/6?u=david
As you noted, it occurred when the response was too big for the CookieStore - now it saves the data in the database during the registration flow.