add support for OAUTH2 authentication