fix oauth to oauth2 in redirect url