How to pass custom parameter to a custom OAuth2 connection?

Much appreciated. Thanks for looking into this.