From c5c5c21d9bd5f5fc159ea2edb53451fbad796ce8 Mon Sep 17 00:00:00 2001 From: Jan Max Meyer Date: Tue, 29 Oct 2024 17:57:00 +0100 Subject: [PATCH] Extended Google Login guide --- viur-project.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/viur-project.md b/viur-project.md index 1543700..48f645d 100644 --- a/viur-project.md +++ b/viur-project.md @@ -47,7 +47,12 @@ To deploy your project, use `pipenv run viur deploy app`, with additional option - http://localhost:8082 (for VueJS development) - http://localhost 12. Create -13. Copy cliend id and assign it to `conf.user.google_client_id` in `main.py` +13. Copy the client id and assign it to `conf.user.google_client_id` in `main.py` or, + when you have multiple projects with the same code-base, you can also store this client id as a secret value and use the same + identifier. To do this, follow these steps: + - https://console.cloud.google.com/security/secret-manager/create?project={{app_id}} + - Name: google-clientid + - Paste copyied client id and set `conf.user.google_client_id = secret.get("google-clientid")` in your `main.py` 14. Optionally set `conf.user.google_gsuite_domains` to authorized Gsuite domains that allow for User registration in your project ## Contact