diff --git a/docs/scenario/multi_tenancy.rst b/docs/scenario/multi_tenancy.rst index b5060ac..9470dfe 100644 --- a/docs/scenario/multi_tenancy.rst +++ b/docs/scenario/multi_tenancy.rst @@ -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: @@ -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 `_ 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. \ No newline at end of file +middlewares which have to be configured for authentication purposes.