oauth command functional