Can't verify CSRF token authenticity

Hi everyone, I have an rails application. I have Can’t verify CSRF token authenticity error when ı was POST request in localhost. But I don’t have any error on production. Someone else is getting this error in production environment too. I don’t want use skip_before_filter :verify_authenticity_token. What do you think is the problem ?

Processing by User::********Controller#create as TURBO_STREAM
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@****.com"}, "commit"=>"Gönder"}
Can't verify CSRF token authenticity.
Redirected to http://localhost:3000/
Filter chain halted as :verify_authenticity_token rendered or redirected
Completed 302 Found in 2ms (Allocations: `612)`

System configuration

Rails version: 6.1

Ruby version: 3.1.1