I developed myself to get access token and user information from Azure without using any additional gems for providers (all existing gems for Azure are not good, I have to say).