command line oauth2 works