Skip to content

Commit 4bc382c

Browse files
committed
Add "Error handling" section
1 parent f3ae78f commit 4bc382c

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

docs/references/tutorials.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ scopes required for the API endpoint.
3939

4040
```mermaid
4141
flowchart TB
42-
subgraph level2["request (Starlette's Request object)"]
43-
direction TB
44-
subgraph level1["auth (Starlette's extended Auth Credentials)"]
42+
subgraph level2["request (Starlette's Request object)"]
4543
direction TB
46-
subgraph level0["provider (OAuth2 provider with client's credentials)"]
44+
subgraph level1["auth (Starlette's extended Auth Credentials)"]
4745
direction TB
48-
token["access_token (Access token for the specified scopes)"]
46+
subgraph level0["provider (OAuth2 provider with client's credentials)"]
47+
direction TB
48+
token["access_token (Access token for the specified scopes)"]
49+
end
4950
end
5051
end
51-
end
52-
style level2 fill:#00948680,color:#f6f6f7,stroke:#3c3c43;
53-
style level1 fill:#2b75a080,color:#f6f6f7,stroke:#3c3c43;
54-
style level0 fill:#5c837480,color:#f6f6f7,stroke:#3c3c43;
55-
style token fill:#44506980,color:#f6f6f7,stroke:#3c3c43;
52+
style level2 fill: #00948680, color: #f6f6f7, stroke: #3c3c43;
53+
style level1 fill: #2b75a080, color: #f6f6f7, stroke: #3c3c43;
54+
style level0 fill: #5c837480, color: #f6f6f7, stroke: #3c3c43;
55+
style token fill: #44506980, color: #f6f6f7, stroke: #3c3c43;
5656
```
5757

5858
:::
@@ -129,6 +129,14 @@ approach is useful when there missing mandatory attributes in `request.user` for
129129
database. You need to define a route for provisioning and provide it as `redirect_uri`, so
130130
the [user context](/integration/integration#user-context) will be available for usage.
131131

132+
## Error handling
133+
134+
::: info NOTE
135+
136+
This section is under development.
137+
138+
:::
139+
132140
<style>
133141
.info, .details {
134142
border: 0;

0 commit comments

Comments
 (0)