Apply suggestions from code review

Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
Signed-off-by: fyksen <fredrik@fyksen.me>
This commit is contained in:
fyksen 2023-08-29 13:54:21 +02:00 committed by GitHub
parent 0b44d94a6c
commit 869d550087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ title: Tandoor Recipes
> >
> -- https://docs.tandoor.dev/ > -- https://docs.tandoor.dev/
Tandoor Recipy uses Django Allauth as the authentication engine. It supports OpenID Connect. Tandoor Recipes uses Django Allauth as the authentication engine. It supports OpenID Connect.
## Preparation ## Preparation
@ -21,7 +21,7 @@ The following placeholders will be used:
### Provider ### Provider
Create an Provider in authentik with the following parameters: Create a Provider in authentik with the following parameters:
- Client type - Client type
@ -30,11 +30,11 @@ Create an Provider in authentik with the following parameters:
- Client ID - Client ID
Take note off Client ID. Take note of the Client ID.
- Client Secret - Client Secret
Take note off Client Secret. Take note of the Client Secret.
- Redirect URIs/Origins (RegEx) - Redirect URIs/Origins (RegEx)
@ -44,22 +44,22 @@ Create an Provider in authentik with the following parameters:
authentik Self-signed Certificate authentik Self-signed Certificate
- Leave the rest on default - Leave the rest as the default options.
### Application ### Application
Create a Application with the following parameters: Create an Application with the following parameters:
- Name: tandoor - Name: tandoor
- Provider: tandoor - Provider: tandoor
- Leave rest on default - Leave the rest as the default options.
## Tandoor Recipy ## Tandoor Recipe
- Set the following environment variables on your Tandoor Recipes installation (please make sure to use the correct values for `server_url`, `client_id` and `secret`): - Set the following environment variables on your Tandoor Recipes installation (please make sure to use the correct values for `server_url`, `client_id` and `secret`):
- Restart Tandoor, you should now see `Sign In Via Authentik` button. - Restart Tandoor, you should now see `Sign In Via Authentik` button.
- If you want to set your authentik user as administrator, log in as an administrator, then you can do so in the https://tandoor.company/admin/auth/user/ click the user you want to make admin, and mark the `Superuser status` and `Staff status`. - If you want to set your authentik user as the administrator, log in as an administrator. Then navigate to `https://tandoor.company/admin/auth/user/`, click the user you want to make an administrator, and select the `Superuser status` and `Staff status`.