Please refer to the following article.
This lists the configuration steps for the authorization code as well as the client credentials flow.
https://community.snowflake.com/s/article/Connect-from-Power-Automate-Using-OAuth