def auth_params(self, state=None):
    params = super(PaipassOAuth2, self).auth_params(state)
    regex = re.compile('\\:(80|443)\\/')
    params['redirect_uri'] = regex.sub('/', params['redirect_uri'])
    return params
def auth_params(self, state=None):
    params = super(PaipassOAuth2, self).auth_params(state)
    regex = re.compile('\\:(80|443)\\/')
    params['redirect_uri'] = regex.sub('/', params['redirect_uri'])
    return params