Fixed the OAuth2.0 bug