An OAuth2 server based on Slim micro-framework and bshaffer OAuth2 library