OAuth 2 Consent for API access in other platforms

My customers have data in other systems like Shopify, Monday.com, Jira, Gmail, Outlook, Square, Stripe and to get access to their data, we have to use the Oauth 2 Consent flow for various applications to get access and refresh tokens.

Wondering if anyone has done this via Vaadin/Spring (Flow only) and if there are some articles around it. I have already done this via Spring Security for login, but struggling with Oauth 2.0 consent for API access.