oauth: scheme and cmd talking to each other