- Python dependencies: see `requirements.txt` or `setup.py`
- Add the app into `INSTALLED_APPS`
- Include the `ssoauth``urls.py` into the project `urls.py``urlpatterns`:
-`urlpatterns`:
- In `urls.py` of your project add `path("", include("ssoauth.urls"))` to `urlpatterns`
- Without a path/prefix: youre done.
- With a path/prefix:
- Reconsider it. It's highly recommended to include `ssoauth`**without** a prefix/path to avoid issues with apps like `contrib.admin` and `wagtail` that provide their own login pages.
- Reconsider it. It better to include `ssoauth`**without** a prefix/path to avoid issues with apps like `django.contrib.admin` and `wagtail` that provide their own login pages at the default path.
- If you really need to use a path/prefix, make sure to set a setting `LOGIN_URL = urls.reverse_lazy("sso-login")`
...
...
@@ -40,11 +41,11 @@ Use this only if you want an actual SSO with SAML2. For extra details see the de