Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14330aa

Browse files
committed
deprecate /oauth/ro for passwordless
1 parent dcf7880 commit 14330aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

auth0/v3/authentication/passwordless.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def sms_login(self, client_id, phone_number, code, scope='openid'):
9595
9696
scope (str, optional): Scope to use. Defaults to 'openid'.
9797
"""
98-
98+
warnings.warn("/oauth/ro will be deprecated in future releases", DeprecationWarning)
99+
99100
return self.post(
100101
'{}://{}/oauth/ro'.format(self.protocol, self.domain),
101102
data={

0 commit comments

Comments
 (0)