cot_auth snippets