OAuth_wiki and OAuth_pass:

OAuth API Config - https://support.google.com/googleapi/answer/6158849

Generate secret key (could just type random letters instead):

python -c 'import os,base64; print base64.b64encode(os.urandom(18))'


stunell_ldap:

Get certificates - https://support.google.com/a/topic/9173976?hl=en&ref_topic=9048334

TEST STUNNEL:

ldapsearch -v -H ldaps://demo.brainstorm2020.com:636 -x -b dc=domain,dc=org '(mail=user@domain.org)'
