Hello Adriano,
The logic here is:
- In your server action you setup first the Oauth provider with all the settings from the specific provider documentation
- You add the Authorize step to get authorization from the provider you defined in step 1.
Then when you get the authorization you can use the API which requires it and do whatever you need as per their documentation.