How are access and refresh tokens retrieved in Snowflake's OAuth?
The token endpoint returns access tokens or refresh tokens depending on the request parameters. The request parameters include grant type, code or refresh token, and redirect URI. The client ID and client secret must be included in the authorization header.