Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/scenario/multi_tenancy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ first found Realm model to the request object.
'django_keycloak.middleware.BaseKeycloakMiddleware',
]

If you want to support multiple reams you have to create your own middleware.
If you want to support multiple realms you have to create your own middleware.
There are several methods to determine the currently active realm. You can think
of realm determination by:

Expand All @@ -30,4 +30,4 @@ It's up to you how the realm get determined and therefore it's also up to
you to `write a proper middleware <https://docs.djangoproject.com/en/2.0/topics/http/middleware/#writing-your-own-middleware>`_
for it. The only think the middleware has to make the correct Realm model to the
request as `request.realm`. This middleware has to be configured above other
middlewares which have to be configured for authentication purposes.
middlewares which have to be configured for authentication purposes.