library based on openID authentication and OAuth2 authorization modules