You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be used to verify a mobile device. You must register a business account with Vonage and create a network profile in order to use this API. [More information on authentication can be found in the Vonage Developer documentation]('https://developer.vonage.com/en/getting-started-network/authentication').
1161
+
1162
+
### Get an OIDC URL
1163
+
1164
+
Get an OIDC URL for use in your front-end application.
1165
+
1166
+
```python
1167
+
url = client.number_verification.get_oidc_url(
1168
+
redirect_uri='https://example.com/callback',
1169
+
state='state_id',
1170
+
login_hint='447700900000',
1171
+
)
1172
+
print(url)
1173
+
```
1174
+
1175
+
### Create an Access Token from an Authentication Code
1176
+
1177
+
To verify a number, you need a Camara access token. Your front-end application should have made an OIDC request that returned a `code`. Use this with your `redirect_uri` to generate an access token.
0 commit comments