I am using SubmitSelfServiceSettingsFlowForBrowsers, but the cookie needed to authorize the session is neither accepting the Ory Kratos session cookie generated during the login nor the csrf token cookie received in the headers in the login or settings flow during InitializeSelfServiceLoginFlow or InitializeSelfServiceSettingsFlow.
On executing SubmitSelfServiceSettingsFlowForBrowsers, it gives a 401 Unauthorized error. Can someone please help me with the cookie and authorization?