using https://github.com/kushaldas/openid.go/tree/master/src/openid_example as starting point