[SPN9] How to use Oauth2 as an authentication method for API requests