The Finnish Ministry of Social Affairs (STM) oversees the regulation and legislation related to online gambling in Finland. It plays a role in shaping the policies and guidelines that govern online gambling activities, ensuring player protection, responsible gambling measures, and the overall integrity of the industry.