auth0/v3/authentication/passwordless.py
def sms_login(self, client_id, phone_number, code, scope='openid'):
        """Login using phone number/verification code.
        """

        return self.post(
            'https://%s/oauth/ro' % self.domain,
            data={
                'client_id': client_id,
                'connection': 'sms',
                'grant_type': 'password',
                'username': phone_number,
                'password': code,
                'scope': scope,
            },
            headers={'Content-Type': 'application/json'}
        )
Login using phone number/verification code.
        
Login using phone number/verification code.
Login using phone number / verification code .
def sms_login(self, client_id, phone_number, code, scope='openid'):
        return self.post(
            'https://%s/oauth/ro' % self.domain,
            data={
                'client_id': client_id,
                'connection': 'sms',
                'grant_type': 'password',
                'username': phone_number,
                'password': code,
                'scope': scope,
            },
            headers={'Content-Type': 'application/json'}
        )
def sms_login ( self , client_id , phone_number , code , scope = 'openid' ) : return self . post ( 'https://%s/oauth/ro' % self . domain , data = { 'client_id' : client_id , 'connection' : 'sms' , 'grant_type' : 'password' , 'username' : phone_number , 'password' : code , 'scope' : scope , } , headers = { 'Content-Type' : 'application/json' } )
Login using phone number/verification code.
Login using phone number / verification code .
"""Login using phone number/verification code.
        """
self
client_id
phone_number
code
scope