Skip to content

Commit 3fecdbb

Browse files
committed
Fix docs issues from code review
1 parent 2b0439d commit 3fecdbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/ConnectedAccounts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ server_client = ServerClient(
2222
secret="YOUR_SECRET",
2323
use_mrrt=True,
2424
authorization_params={
25-
"redirect_uri"="YOUR_CALLBACK_URL",
25+
"redirect_uri"=:"YOUR_CALLBACK_URL",
2626
}
2727
)
2828
```
@@ -32,7 +32,7 @@ server_client = ServerClient(
3232
Use the login methods to authenticate to the application and get a refresh and access token for the API.
3333

3434
```python
35-
// Login specifying any scopes for the Auth0 API
35+
# Login specifying any scopes for the Auth0 API
3636

3737
authorization_url = await server_client.start_interactive_login(
3838
{
@@ -65,7 +65,7 @@ The `app_state` parameter allows you to pass custom state (for example, a return
6565

6666
connect_url = await self.client.start_connect_account(
6767
ConnectAccountOptions(
68-
connection="CONNETION", # e.g. google-oauth2
68+
connection="CONNECTION", # e.g. google-oauth2
6969
redirect_uri="YOUR_CALLBACK_URL"
7070
app_state = {
7171
"returnUrl":"SOME_URL"
@@ -87,7 +87,7 @@ Using the url returned, redirect the user to the third party Identity Provider t
8787
Call the `complete_connect_account` method using the full callback url returned from the third party IdP to complete the connected account flow. This method extracts the connect_code from the URL, completes the connection, and returns the response data (including any `app_state` you passed originally).
8888

8989
```python
90-
complete_response await self.client.complete_connect_account(
90+
complete_response = await self.client.complete_connect_account(
9191
url= callback_url,
9292
store_options=store_options
9393
)

0 commit comments

Comments
 (0)