It's great that we can configure OAuth2 clients on the gateway, it's a shame they're only used for email though. It would be great to have access to the configured OAuth2 clients in scripts for getting access tokens for api's that require OAuth2.