File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,11 @@ the [documentation](https://python-social-auth.readthedocs.io/en/latest/backends
13
13
14
14
## SSR & REST APIs
15
15
16
- ::: tip Ticket #19
17
-
18
- This upcoming feature is under development and will be available in the next release. You can track the progress in
19
- the [ #19 ] ( https://github.com/pysnippet/fastapi-oauth2/issues/19 ) issue.
20
-
21
- :::
16
+ It is compatible with both SSR and REST APIs. It means you can integrate it into your FastAPI templates and REST APIs.
17
+ By default, the ` enable_ssr ` parameter of the primary [ configuration] ( /integration/configuration#oauth2config ) is set
18
+ to ` True ` , which means that the application uses server-side rendering using Jinja2 templates and saves the access token
19
+ in the cookies. If you want to use it in your REST APIs, you should set the ` enable_ssr ` parameter to ` False ` and save
20
+ the access token on the client side.
22
21
23
22
## CSRF protection
24
23
You can’t perform that action at this time.
0 commit comments