Example code for custom OAuth2 provider for Flowhub