Oauth - initial connection to oauth provider and getting bearer token

Oauth - initial connection to oauth provider and getting bearer token