"Authentication failure! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError" Error due to missing session["omniauth.state"]

Yes @david authentication is starting and ending in the same browser. Have not changed the value of same_site_cookies. It is default set to “Lax”.