Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Schilling <schilling711@gmail.com>
  • Loading branch information
simon-spier0 and tim-schilling authored Sep 29, 2024
1 parent 3b4af56 commit 17910b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ This will add these paths to Django:
* ``/oauth2/callback`` where ADFS redirects back to after login. So make sure you set the redirect URI on ADFS to this.
* ``/oauth2/logout`` which logs out the user from both Django and ADFS.
You can use them like this in your django templates:
```suggestion
Below is sample Django template code to use these paths depending if
you'd like to use GET or POST requests. Logging out was deprecated in
`Django 4.1 <https://docs.djangoproject.com/en/5.1/releases/4.1/#features-deprecated-in-4-1>`_.
- GET:
Expand Down

0 comments on commit 17910b6

Please sign in to comment.