green-librarian-85729
02/01/2023, 11:31 AM401 Unauthorized error every time. This is what we're trying:
1. Calling the Logout Flow creation like this (cookies variable stores the ory_kratos_session and csrf_token cookies):
flow, res, err := ory.FrontendApi.CreateBrowserLogoutFlow(ctx).Cookie(cookies).Execute()
2. Calling the logout flow update like this:
res, err = ory.FrontendApi.UpdateLogoutFlow(ctx).Token(flow.GetLogoutToken()).Execute()
And then we got the error. How can you pass the cookies value to the UpdateLogoutFlow? It seems UpdateLogoutFlow require cookie values but we can not find the way to pass them. Somebody can help who has faced with a similar issue?green-librarian-85729
02/01/2023, 3:45 PM