I am not able to assign a group to a node while creating it
I have tried posting group content but didn't work in all field widgets (select, checkbox or auto complete)

I see there exist an issue with that field og_group_ref take a look at that question have an answer with a patch hope to solve the issue.